Answers for "what does "-1" mean in javascript"

0

what does "-1" mean in javascript

1) Search/Find functions return a -1 if there is no matching item.
2) -1 is used to mean descending for sort functions.
Posted by: Guest on August-12-2021

Code answers related to "what does "-1" mean in javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language