Student Reviews
( 5 Of 5 )
1 review
Video of Javascript Tutorial Functions, First Class Citizens or Callable Objects Ep18 in JavaScript Essentials course by Programming With Avelx channel, video No. 18 free certified online
Functions in Javascript are treated as first class citizens or callable objects. In other words they are objects. A standard object's context is made up of properties and methods. However callable objects have an executable context made up of a list of instructions to run on the computer.
Just like objects, callable objects can be placed within a variable, constant or even a parameter. Yes you can even pass a function to another function if you wish.
This tutorial is brought to you by http://www.avelx.co.uk/ - Coding tutorials to help you grow.