Rename a couple of files and tweak some docs.
This commit is contained in:
+1
-1
@@ -955,7 +955,7 @@ DEF_NATIVE(string_indexOf)
|
||||
|
||||
char* firstOccurrence = strstr(string->value, search->value);
|
||||
|
||||
RETURN_NUM(firstOccurrence ? (firstOccurrence - string->value) : -1);
|
||||
RETURN_NUM(firstOccurrence ? firstOccurrence - string->value : -1);
|
||||
}
|
||||
|
||||
DEF_NATIVE(string_startsWith)
|
||||
|
||||
Reference in New Issue
Block a user