Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript declare empty array

// Variable array for a wider scope:
var arrayName = [];
// Local scope variable array:
let arrayName = [];
Source by www.jstips.co #
 
PREVIOUS NEXT
Tagged: #javascript #declare #empty #array
ADD COMMENT
Topic
Name
7+2 =