Created
September 28, 2020 09:53
-
-
Save Ali-SaZa/f1538104139bc14bf70186149c014989 to your computer and use it in GitHub Desktop.
delete an array in array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]]) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment