brianleroux/wtfjs

wtfjs.com!

JavaScript

1,435

284 commits

updated May 8, 2024

See the code

README

    :::       :::::::::::::::::::::::::::::::::::::::::::
    :+:       :+:    :+:    :+:           :+:   :+:    :+:
    +:+       +:+    +:+    +:+           +:+   +:+
    +#+  +:+  +#+    +#+    :#::+::#      +#+   +#++:++#++
    +#+ +#+#+ +#+    +#+    +#+           +#+          +#+
     #+#+# #+#+#     #+#    #+#       #+# #+#   #+#    #+#
      ###   ###      ###    ###        #####     ########
      ---------------------------------------------------
      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).

brianleroux/wtfjs

wtfjs.com!

JavaScript

1,435

284 commits

updated May 8, 2024

See the code

README

    :::       :::::::::::::::::::::::::::::::::::::::::::
    :+:       :+:    :+:    :+:           :+:   :+:    :+:
    +:+       +:+    +:+    +:+           +:+   +:+
    +#+  +:+  +#+    +#+    :#::+::#      +#+   +#++:++#++
    +#+ +#+#+ +#+    +#+    +#+           +#+          +#+
     #+#+# #+#+#     #+#    #+#       #+# #+#   #+#    #+#
      ###   ###      ###    ###        #####     ########
      ---------------------------------------------------
      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).

Project health

Overall

2.6/10

Maintained

0/10

Code review

4/10
OpenSSF Scorecard

Significant stargazers

(top 24 of 29)

Luna Borowska

92 followers · starred Jan 2012

rugk

202 followers · starred Jun 2022

Bradley Farias

672 followers · starred May 2010

Tom Schuster

127 followers · starred Jun 2010