Skip to content

Commit 7147bcd

Browse files
authored
Revert "fix: allow an object's Symbols to be observed (vuejs#6704)"
This reverts commit 4fd2ce8.
1 parent 3b8925b commit 7147bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function isRegExp (v: any): boolean {
6767
* Check if val is a valid array index.
6868
*/
6969
export function isValidArrayIndex (val: any): boolean {
70-
const n = parseFloat(String(val))
70+
const n = parseFloat(val)
7171
return n >= 0 && Math.floor(n) === n && isFinite(val)
7272
}
7373

0 commit comments

Comments
 (0)