blob: a9ffb5f410bf787e725fac8a11d4d21ffacc327a (
plain)
1
2
3
4
5
6
7
8
9
10
|
# Printing JS::Symbols.
assert_subprinter_registered('SpiderMonkey', 'ptr-to-JS::Symbol')
run_fragment('JSSymbol.simple')
assert_pretty('unique', 'Symbol()')
assert_pretty('unique_with_desc', 'Symbol("Hello!")')
assert_pretty('registry', 'Symbol.for("Hello!")')
assert_pretty('well_known', 'Symbol.iterator')
|