mirror of
https://github.com/tc39/test262.git
synced 2025-09-23 18:18:37 +02:00
Removed typeof from log message.
This commit is contained in:
parent
557b748bff
commit
daa4186be4
@ -22,7 +22,7 @@ var s = new WeakMap();
|
||||
for (let invalidKey of invalidKeys) {
|
||||
assert.throws(TypeError, function () {
|
||||
s.getOrInsertComputed(invalidKey,
|
||||
() => log.push(`Unexpected evaluation of callback function, key: ${typeof invalidKey}`));
|
||||
() => log.push(`Unexpected evaluation of callback function, key: ${invalidKey}`));
|
||||
}, `${typeof invalidKey} not allowed as WeakMap key`);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user