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' : '';
}
 
PREVIOUS NEXT
Tagged: #js #array #length
ADD COMMENT
Topic
Name
9+3 =