DEV Community 👩‍💻👨‍💻

Cover image for Javascript Tagalog - Function Expression
Mark Matthew Vergara
Mark Matthew Vergara

Posted on

Javascript Tagalog - Function Expression


Disclaimer: This is a Blog i made with the initial intention of reinforcing my knowledge in JS. I just thought sharing my blogs might be helpful for someone since they are written in tagalog/taglish. Incase of Misinformation I won't be responsible for it and you can comment on the blog to address the mistake or email me. I'm always trying my best to be as accurate as possible. take a look at other resources just to be sure.

Ano ngaba ang Function Expression sa Javacript?

  • Ang Function Expression ay isang paraan ng pag dedefine ng function
  • Ang mga function declaration ay di hoisted so di mo sila pwede gamitin hanggat dipa sila na dedefine

Pag dedefine ng Function Expresion
Function Expression Javascript Tagalog Filipino Philippines
eto naman using arrow function
Function Expression Javascript Tagalog Filipino Philippines


Yung mga Function Expression di sila Hoisted
Function Expression Javascript Tagalog Filipino Philippines
While yung mga Function Declaration Hoisted Sila
Function Expression Javascript Tagalog Filipino Philippines


Note:
Sa Javascript pwede mong i pass ang mga functions sa variables, pwede karin mag return ng function from a function, pwede moring i pass mga function as an arguments sa mga functions at iba pa.
In short tinatrato ng Javascript ang mga Functions as Variables lang
That's another topic nalang, kasi medyo advance pero eto mga documentation kung curious kayo
MDN Documentation - First Class Functions


baka oversimplified,inacurrate information nasulat ko so here's a better in depth documentation (english)
MDN Documentation - Function Expression

More tagalog Javascript Learning Resources:
https://javascript-in-tagalog.netlify.app

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.