ECMA-262 Edition 5.1: DecimalEscape

# Axel Rauschmayer (13 years ago)

First an EscapeValue is defined like this [1]: “An EscapeValue is either a character or an integer. An EscapeValue is used to denote the interpretation of a DecimalEscape escape sequence: a character ch means that the escape sequence is interpreted as the character ch, while an integer n means that the escape sequence is interpreted as a backreference [...]”

However, if I understand [2] correctly, then the only character that is ever returned is <NUL>. Is that correct?

[1] www.ecma-international.org/ecma-262/5.1/#sec-15.10.2.1 [2] www.ecma-international.org/ecma-262/5.1/#sec-15.10.2.11

Thanks!

Axel