...

/

Objects or Constructor Functions?

Objects or Constructor Functions?

This lesson discusses why constructor functions are used in JavaScript.

Functions as Objects

As discussed previously functions are also objects in JavaScript. This is because just like objects, they have their own properties and methods as well. Functions can be ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy