A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/commit/4fd2ce813cd0a59bd544defe07f44a5731e45f84 below:

allow an object's Symbols to be observed (#6704) · vuejs/vue@4fd2ce8 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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