Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

fill in JavaScript

fill(val); 
fill(val, start);	//fills array with value of val at index start
fill(val, start, end); //fills array with value of val at index start to index end
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #fill #JavaScript
ADD COMMENT
Topic
Name
4+4 =