Spaghetti Tom
Sunday, August 4, 2013
Did you know strings in JavaScript have a .valueOf() method? If you didn't it is because you mostly don't need to.
I got the following from
this
:
var str="Hello world!";
document.write(str.valueOf());
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment