Javascript Containers

Keep in mind that Javascript is a dynamic language. So it means that a Javascript container like an:

Can contain any valid value that can be stored in a Javascript variable. So it could be function, string etc.

And for that matter it’s perfectly valid to have many different types in one Javascript container. They do not have to all be the same.

Related pages