Skip to content

Instantly share code, notes, and snippets.

View Ali-SaZa's full-sized avatar
🎯
Focusing

Ali Sagheb Zabihi Ali-SaZa

🎯
Focusing
View GitHub Profile
@Ali-SaZa
Ali-SaZa / array delete in javaScript
Created September 28, 2020 09:53
delete an array in array
with slice of code can delete an array in array :
this.coordinates = this.coordinates.filter(function (item) {
return (item[0] !== latlon[0] && item[1] !== [latlon[1]])
})