nan - JavaScript ASCII to text -


I was thinking that it is possible to change the text "Batman" in the Javatics Batman Joke, then change it and change it

The original joke is

  Javascript: Array (16) .join ("lol" - 1) + "Batman"  << / P> 
  Javascript: Array (16) .joint ("LO" - 1) + [66, 97, 116, 109, 097, 110] .for eca (function (e) {document.write (String.framecorder (e));}); Whereas [66, 97, etc.] Batman has ASCII codes, this fails because the document object is not present in an empty browser window.  

(PS If it is not suitable, then it feels free to destroy it, it was only for fun)

You do not really need to use any type of loop or iterator for your array; in fact, the characters you actually want to give it will accept as much. So it will work just fine:

  Javascript: Array (16) .join (- '.') + String.framecrod (66, 97, 116, 109, 097, 110);  

However, if you want to call for each element of the array, you can. Each javascript function can be called using which will run the function for each array element:

  javascript: Array (16) .join ("lol" - 1) + String.fromCharCode Apply (this, [66, 97, 116, 109, 097, 110]);  

In addition, "lol" - 1 is intended to make a bad number (not a Nyan or number one). If you want to obscure things in a while, then you can use any math operation on a non-numeric string. For example:

  javascript: array (16) .join (- '.') + String.framecorder.apply (this, [66, 97, 116, 109, 097, 110] )  

Because - '.' to 0 - '.' , which does not make any sense, so its NaN


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -