Skip to content

Commit e9359d4

Browse files
Add fallback for if Symbol is not defined
1 parent 99ff44c commit e9359d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from './lazy'
99

1010
const prefix = '_async_computed$'
11-
const DidNotUpdate = Symbol('did-not-update')
11+
const DidNotUpdate = typeof Symbol === 'function' ? Symbol('did-not-update') : {}
1212

1313
const AsyncComputed = {
1414
install (Vue, pluginOptions) {

0 commit comments

Comments
 (0)