JavaScript Tutorial | Beginner | Anonymous Function Expressions | Chap-4 | Part-3

preview_player
Показать описание
We will first start off with the rules of defining an identifier in function declaration statement in JavaScript programming language. This video lesson will then move onto explaining the anonymous function, which is an unique feature in scripting language. Anonymous functions are used as values inside variables and requires a expression statement to declare them in the compiler. Although they behave similarly like other declarative functions but they are essentially expressions without names and this gives them the added advantage of being created on-the-fly or whenever needed. Besides, in JavaScript, variables themselves can turn into functions if a declarative function is assign to them directly without parentheses. The variable makes a copy itself and behaves like a first-class function. It can also take in parenthesized arguments like regular functions.

STAY TUNED.....

SUBSCRIBE, SHARE, LIKE
Рекомендации по теме
Комментарии
Автор

you sure know your stuff!! great explanation thank you so much!!

AB-vzmb