Skip to content

Commit

Permalink
Fix error of es6symbol test in ie11 (#2624)
Browse files Browse the repository at this point in the history
  • Loading branch information
toddwong authored and rejas committed Dec 16, 2020
1 parent d8cd1a0 commit ed1dbf0
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 ed1dbf0

Please sign in to comment.