Skip to content

Commit

Permalink
Revert "fix: allow an object's Symbols to be observed (vuejs#6704)"
Browse files Browse the repository at this point in the history
This reverts commit 4fd2ce8.
  • Loading branch information
WYseven committed Jul 5, 2019
1 parent 3b8925b commit 7147bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/util.js
Expand Up @@ -67,7 +67,7 @@ export function isRegExp (v: any): boolean {
* Check if val is a valid array index.
*/
export function isValidArrayIndex (val: any): boolean {
const n = parseFloat(String(val))
const n = parseFloat(val)
return n >= 0 && Math.floor(n) === n && isFinite(val)
}

Expand Down

0 comments on commit 7147bcd

Please sign in to comment.