javascript - declare array with implicit declaration

JavaScript
voted: 0
vote
array declaration

In Javascript array can be declared with implicit declaration as function return value as follows:

var phrase = "javascript-is-fun";
var arrayName = phrase.split("-");
working url: not entered
version: not entered
Leave a Comment:
Characters left:
No comments yet.