+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ export function isRegExp (v: any): boolean {
56
56
* Check if val is a valid array index.
57
57
*/
58
58
export function isValidArrayIndex (val: any): boolean {
59
-
const n = parseFloat(val)
59
+
const n = parseFloat(String(val))
60
60
return n >= 0 && Math.floor(n) === n && isFinite(val)
61
61
}
62
62
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4