summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/console/console-log-symbol.any.js
blob: a2facb6c64e86428383260735ed2df3e88c2c809 (plain)
1
2
3
4
5
6
7
8
9
10
// 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");