Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function rot13(c){
- return c.replace(/([a-m])|([n-z])/ig, function($0,$1,$2){
- return $1 ? String.fromCharCode($1.charCodeAt(0) + 13) :
- $2 ? String.fromCharCode($2.charCodeAt(0) - 13) : $0; });
- }
- WScript.Echo(rot13('NOWHERE abjurer'))
Advertisement
Add Comment
Please, Sign In to add comment