It will create a slice of value (array/string) with n elements dropped from the beginning.
value
n
1.0.0
drop([0, 1, 2, 3, 4, 5], 2); // => [2, 3, 4, 5] Copy
drop([0, 1, 2, 3, 4, 5], 2); // => [2, 3, 4, 5]
drop("012345"); // => "12345" Copy
drop("012345"); // => "12345"
drop("012345", 2); // => "2345" Copy
drop("012345", 2); // => "2345"
It will create a slice of
value(array/string) withnelements dropped from the beginning.