Optional
Readonly
endReadonly
nameOptional
Readonly
posReadonly
typeCreates a new symbol with exactly the same local name and namespace as this symbol. However it allows scanning information (pos, end) to be carried along with the new instance.
Optional
pos: numberThe start position of the symbol in the source text.
Optional
end: numberThe end position of the symbol in the source text.
This is only a convenience for building atoms. There is no requirement for implementations to extend JsAtom to be considered atoms.