Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

write an array that invokes the alter function in to the array

const myArray = [ function alerter() { alert('Hello!'); } ];

myArray[0](); //my expression
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #write #array #invokes #alter #function #array
ADD COMMENT
Topic
Name
1+9 =