The built in string object.
- See:
Methods
-
rot13()
-
Create a ROT13-encoded version of the string. Added by the
foo
package.Example
var greeting = new String('hello world'); console.log( greeting.rot13() ); // uryyb jbeyq