Function expressions thumbnail
Function expressions
javascript.info
: no matter how the function is created, a function is a value There is another syntax for creating a function that is called a Function Expression A Function Declaration can be called earlier than it is defined. A Function Expression is created when the execution reaches it and is usable only from
13 Users
0 Comments
183 Highlights
0 Notes

Top Highlights

  • : no matter how the function is created, a function is a value
  • There is another syntax for creating a function that is called a Function Expression
  • A Function Declaration can be called earlier than it is defined.
  • A Function Expression is created when the execution reaches it and is usable only from that moment.
  • In strict mode, when a Function Declaration is within a code block, it’s visible everywhere inside that block. But not outside of it.

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.