As part of understanding the JavaScript function , here is the another simple yet powerful information ,
You can create the function and assign it to variable.It can become object and referring the "function" object.
Variable can be a var , let or constant.
This function will called with the variable name not by its function name as we seen in the previous posts.
Example:
No comments:
Post a Comment