blob: 8fe6237964fbc4e09eea5ca127f1413b4d73f782 [file] [log] [blame]
description(
"This tests that Symbol.prototype object is ordinary object (not Symbol wrapper object)."
);
shouldThrow("Symbol.prototype.toString.call(Symbol.prototype)", `"TypeError: Symbol.prototype.toString requires that |this| be a symbol or a symbol object"`);
shouldBeEqualToString("Symbol.prototype.toString.call(Symbol.iterator)", "Symbol(Symbol.iterator)");
successfullyParsed = true;