Loading...

Javascript Equivalent of PHP List()

905 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jan 15, 2011

in php you can assign an array to a bunch of variables in one line. This really helps for readability. In javascript we can do the same thing. Using
var [var1, var2, var3] = array;

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...