Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Getting Terms From An Array

	 const names = [{name:"John"}, {name:"James"}, {name:"Jake"}];
		 const [first,second] = names;
		 
		 console.log(first);/*yields {name:"John"}*/ 
		 console.log(second); /*yield {name:"James"} */
 
PREVIOUS NEXT
Tagged: #Getting #Terms #From #An #Array
ADD COMMENT
Topic
Name
2+7 =