summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Tests/builtins/Symbol/well-known-symbol-existence.js
blob: 9a66f974af2203720a8a548c7284bce947a12460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
test("basic functionality", () => {
    expect(Symbol).toHaveProperty("iterator");
    expect(Symbol).toHaveProperty("asyncIterator");
    expect(Symbol).toHaveProperty("match");
    expect(Symbol).toHaveProperty("matchAll");
    expect(Symbol).toHaveProperty("replace");
    expect(Symbol).toHaveProperty("search");
    expect(Symbol).toHaveProperty("split");
    expect(Symbol).toHaveProperty("hasInstance");
    expect(Symbol).toHaveProperty("isConcatSpreadable");
    expect(Symbol).toHaveProperty("unscopables");
    expect(Symbol).toHaveProperty("species");
    expect(Symbol).toHaveProperty("toPrimitive");
    expect(Symbol).toHaveProperty("toStringTag");
    expect(Symbol).toHaveProperty("dispose");
});