Skip to content

Commit

Permalink
Fix error of es6symbol test in ie11 (Modernizr#2624)
Browse files Browse the repository at this point in the history
  • Loading branch information
toddwong authored Dec 16, 2020
1 parent 6f9aec8 commit 690e36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature-detects/es6/symbol.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Check if browser implements ECMAScript 6 Symbol per specification.
*/
define(['Modernizr'], function(Modernizr) {
Modernizr.addTest('es6symbol', !!(Symbol &&
Modernizr.addTest('es6symbol', !!(typeof(Symbol)==="function" &&
Symbol.for &&
Symbol.hasInstance &&
Symbol.isConcatSpreadable &&
Expand Down

0 comments on commit 690e36a

Please sign in to comment.