Advertisement
Guest User

Untitled

a guest
Apr 17th, 2014
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. String.fromCharCode(0) === "u0000" // true
  2. String.fromCharCode(0, 1) === "u0000u0001" // also true
  3.  
  4. String.fromCharCode(10) ="n"
  5.  
  6. String.fromCharCode(0) = ""
  7. (will show empty string, since this is marked as non-displayable string character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement