Files
tubestation/testing/web-platform/tests/console/console-log-symbol.any.js
syvb b1bd73e417 Bug 1877899 [wpt PR 44342] - Make console methods take any instead of string, a=testonly
Automatic update from web-platform-tests
Add test for console logging a Symbol

Signed-off-by: syvb <me@iter.ca>

--

wpt-commits: d0a66dfb73bb3925157f4768beee24d30d73f355
wpt-pr: 44342
2024-02-13 08:17:20 +00:00

11 lines
292 B
JavaScript

// META: global=window,dedicatedworker,shadowrealm
"use strict";
// https://console.spec.whatwg.org/
test(() => {
console.log(Symbol());
console.log(Symbol("abc"));
console.log(Symbol.for("def"));
console.log(Symbol.isConcatSpreadable);
}, "Logging a symbol doesn't throw");