WSL should have more tests of type checking failures
[WebKit-https.git] / JSTests / es6 / Symbol_global_symbol_registry.js
1 function test() {
2
3 var symbol = Symbol.for('foo');
4 return Symbol.for('foo') === symbol &&
5    Symbol.keyFor(symbol) === 'foo';
6       
7 }
8
9 if (!test())
10     throw new Error("Test failed");
11