| 123456789101112131415161718192021222324252627282930 |
- //-------------------------------------------------------------------------------------------------------
- // Copyright (C) Microsoft. All rights reserved.
- // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
- //-------------------------------------------------------------------------------------------------------
- var y = Symbol.for('bob');
- WScript.SetTimeout(testFunction, 50);
- /////////////////
- function testFunction()
- {
- var x = Symbol.for('ted');
- var z = Symbol.for('bob');
- var sym1 = Symbol.for('A\0X');
- var sym2 = Symbol.for('A\0Y');
- var sym3 = Symbol.for('A\0X');
- telemetryLog(`x === y: ${x === y}`, true); //false
- telemetryLog(`z === y: ${z === y}`, true); //true
- telemetryLog(`sym1 === sym2: ${sym1 === sym2}`, true); //false
- telemetryLog(`sym1 === sym3: ${sym1 === sym3}`, true); //true
- var zo = Symbol('bob');
- telemetryLog(`zo === y: ${zo === y}`, true); //false
- emitTTDLog(ttdLogURI);
- }
|