Skip to content

Commit 9e05266

Browse files
committed
Revert "feat(compiler): Allow BigInt usage in templates (issue vuejs#11126)"
This reverts commit 66fbc39.
1 parent 6f2eee7 commit 9e05266

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/instance/proxy.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (process.env.NODE_ENV !== 'production') {
99
const allowedGlobals = makeMap(
1010
'Infinity,undefined,NaN,isFinite,isNaN,' +
1111
'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +
12-
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' +
12+
'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,' +
1313
'require' // for Webpack/Browserify
1414
)
1515

@@ -54,7 +54,6 @@ if (process.env.NODE_ENV !== 'production') {
5454

5555
const hasHandler = {
5656
has (target, key) {
57-
console.log(target, key)
5857
const has = key in target
5958
const isAllowed = allowedGlobals(key) ||
6059
(typeof key === 'string' && key.charAt(0) === '_' && !(key in target.$data))

0 commit comments

Comments
 (0)