To create a new primitive symbol, use new Symbol()
with an optional string as its description
.
NOTE: Unlike in plain JavaScript, new Symbol()
syntax is used in Haxe. This generates a Symbol(...)
expression as required by the JavaScript specification.