View RSS Feed

Recent Blogs Posts

  1. Messing with Javascript

    Hey all,
    I've been fiddling with JavaScript and decided to share a neat little thing (its completely useless).

    Finished Code
    Code:
    console.log(+[[-~[]<<~[]][+[]]+[]][+[]][++[[]][+[]]+[+[]]]); //Prints 8
    Now for the break down -

    Pre-note - I use this function while playing with variables. It outputs the value and type of a variable. (The counter is to force the developer console to display each seperately)
    Code:
    var counter = 0;
    ...