java script num toSting syntax eror

Java
(23).toString(); //interprets 23 as literal
Source

Also in Java: