.delete(location)
Description
Delete is a method that deletes a value from an array at a location
Parameters
Delete takes the location of the value to delete as a parameter.
Usage On Arrays
arr = ["wow","hello","world"]
// setup the array
log arr.delete(2)
// returns ["wow","world"]
// "hello" was deleted at index 2Last updated
Was this helpful?