Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js for array length

for (let g = 0; g < not_restaurant.length; g++) {
	checked = (data[i].id === not_restaurant[g].restaurant_id) ? 'checked' : '';
}
Source by iq.opengenus.org #
 
PREVIOUS NEXT
Tagged: #js #array #length
ADD COMMENT
Topic
Name
7+4 =