Skip to content

brianleroux/wtfjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

    :::       :::::::::::::::::::::::::::::::::::::::::::
    :+:       :+:    :+:    :+:           :+:   :+:    :+:
    +:+       +:+    +:+    +:+           +:+   +:+
    +#+  +:+  +#+    +#+    :#::+::#      +#+   +#++:++#++
    +#+ +#+#+ +#+    +#+    +#+           +#+          +#+
     #+#+# #+#+#     #+#    #+#       #+# #+#   #+#    #+#
      ###   ###      ###    ###        #####     ########
      ---------------------------------------------------
      JavaScript code blog.

Share your wtfjs moment

It has never been easier to contribute a wtf to wtfjs.com!

  • fork this repo
  • add your wtf under src/shared/md (format: yyyy-mm-dd-title.md)
  • don't forget to add your name and link to twitter/github at the bottom!
  • send a pull request
  • WTF

Example post format

```
Array(20).map(function(elem) { return 'a'; }); // Array of undefined x 20
```

More info [here](http://www.ecma-international.org/ecma-262/5.1/#sec-15.4.4.19).
Thanks [Paul Irish](https://twitter.com/paul_irish) for the explanation.

— [@yourtwitterhandle_or_githubhandle][1]

[1]:https://githubortwitter.com/yourusername

http://wtfjs.com was created by @brianleroux. Everything here is under the WTFPL 2.0 license.


Contributors

Ordered by date of first contribution. Auto-generated on Thu Aug 09 2012 19:07:44 GMT-0700 (PDT).