wtfjs
about
created by
Brian LeRoux
&
Andrew Lunny
. sparodically uncurated by
David Trejo
.
2016 03 19 weird instanceof
2016 03 10 Object And Array Prototype Length
2016 03 09 Two Special Numbers
2015 04 23 screwy negative array index
2015 04 16 moving numbers
2015 04 08 array sort
2015 03 23 adding arrays
2015 02 05 good old octal decimal wtf
2015 02 02 Boolean constructor
2014 11 22 object as object key
2014 10 07 true equals false
2014 05 05 this length
2014 03 13 regex test true false
2014 03 13 String Integers Comparison
2014 02 25 array indexof
2014 02 22 wtf_document.all
2014 02 20 math pow
2014 02 04 Date.Date vs Year
2014 01 29 regular expression and slash
2014 01 11 multiplying arrays and objects
2013 12 19 The Hungry Variable
2013 12 15 charAt is not the same as []
2013 10 07 Local storage limitations
2013 10 02 implicit getElementById
2013 09 30 Array Constructor2 is Very Undefined
2013 08 07 Math.max() behaviour
2013 07 18 array ruse
2013 07 04 array constructor
2013 06 20 negative indexes
2013 04 28 isfinite null is true
2013 04 18 true story bro
2013 03 27 automatic semicolon insertion
2013 03 25 null to bool
2013 03 06 false isnt false
2013 02 28 null, undefined and test
2013 02 22 parseint radix
2013 02 21 why am i a number
2013 02 13 unicode vars
2013 02 12 obfuscated fibonacci
2013 02 05 magic function properties
2013 01 28 array comparison
2012 12 28 undefined props on numbers
2012 10 10 infinity madness
2012 09 19 Hexadecimal weirdness
2012 08 11 Slashes!
2012 05 07 Numbers and dots
2012 04 18 changing variables changes arguments
2011 12 16 negative zero equal but not equal
2011 11 11 the universe answers and JavaScript still makes us wtf
2011 11 08 undefined identity crisis
2011 09 24 Date silently accepts anything
2011 07 26 iteration demoralization
2011 06 27 min less max
2011 06 23 parseint magic
2011 05 12 parseInt is not eval
2011 02 11 all your commas are belong to Array
2010 12 06 convert to integer
2010 11 15 i am myself but also not myself
2010 11 10 false advertising
2010 10 15 ie 754
2010 09 16 eval changes
2010 07 23 im not a number really
2010 07 22 magic increasing number
2010 07 15 typeof number is not number
2010 07 12 fail
2010 07 11 length of what now
2010 06 09 function in ur string
2010 06 08 void is a black hole
2010 06 02 instances and default values
2010 04 31 syntax highlighting serverside with google prettyfy
2010 04 31 isNaN
2010 04 30 operators and regexp fun
2010 04 17 global scope mindtricks
2010 04 16 syntax highlighting wtf
2010 04 16 express js gotcha
2010 04 16 contributing to wtfjs
2010 04 16 build your own wtfjs
2010 04 15 hello world
2010 04 12 call in ur call
2010 04 02 object to primitive coerce
2010 03 04 max vs the infinite
2010 03 02 ie cursed recursion
2010 02 26 implicit tostring fun
2010 02 26 array crazy
2010 02 25 jsftw: google closure compiler
2010 02 25 ie scope
2010 02 25 ie and webkit agree
2010 02 24 messing with number prototype
2010 02 23 makes perfect sense
2010 02 23 declaration vs initialization
2010 02 23 coerced
2010 02 23 boolean paradox
2010 02 23 arguing with arguments
2010 02 19 concat coerce
2010 02 16 reserved for future use maybe
2010 02 16 more floating point rounding
2010 02 16 automagic semicolons
2010 02 15 undefined is mutable
2010 02 15 true has a value
2010 02 15 timeout delay
2010 02 15 thc timetravel
2010 02 15 scope fun
2010 02 15 more coerce fun
2010 02 15 hoisting
2010 02 15 firebug reserved
2010 02 15 coerce equality
2010 02 15 careful
2010 02 15 accidental global
2010 02 13 string is not string
2010 02 13 null is not falsy
2010 02 12 parseint treachery
2010 02 12 null is not an object
2010 02 12 not a number is not a not a number
2010 02 12 not a number is a number
2010 02 12 min number treachery
2010 02 12 maths fun
2010 02 12 function context fun
2010 02 12 foonanny
2010 02 12 almost but not quite
wtfjs is
free software
. get the
source on github
.