Skip to content

Commit

Permalink
Fix the method used to determine whether Symbol is polyfilled.
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=131721268
  • Loading branch information
brad4d committed Aug 30, 2016
1 parent 24a4540 commit 263595b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const testing = goog.require('jscomp.runtime_tests.polyfill_tests.testing');
const assertPropertyListEquals = testing.assertPropertyListEquals;
const objectCreate = testing.objectCreate;

const SYMBOL_IS_POLYFILLED = typeof Symbol('') === 'string';
const SYMBOL_IS_POLYFILLED = Symbol != $native.Symbol;

testSuite({
testGetOwnPropertySymbols_symbols() {
Expand Down

0 comments on commit 263595b

Please sign in to comment.