jQuery vs MooTools Nightly Benchmark
MooTools team suprised us by releasing 1.3 beta. One of the most notable features was Slick – very fast selector engine. It does not use MooTools code, so finally we can use it without attaching whole MooTools Core. On other side, as everybody knows, jQuery seems to have fastest selector engine among JavaScript libraries – SizzleJS . So include SizzleJS or Slick? Check our benchmarks and decide yourself.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
May 31, 2010 in Benchmarks, Good to know, JavaScript, MooTools, Web Development, jQuery | View Comments
JavaScript oddities explained. Comparing.
This post is inspired by Brian Leroux and his wtfjs tumblr blog. JavaScript is full of unexplained oddities. I’m going to prove you that every each of them can be explained. There are several causes of such interpreter behavior: inaccurate specification, hyper-correct interpreting, understatements, waywardness of browsers creators. The first type of such ‘features’ are these related to comparing.
0.1 + 0.2 == 0.3
11111111111111113 != 11111111111111111
01234 != 0668
0123 == "0123"
NaN == NaN
3 != "03"
"4" - "1" == "1" + "2"
If you think that TRUE is answer to any of above expressions (and don’t know why it’s exactly opposite) then you should certainly read rest of this article.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
May 19, 2010 in Good to know, JavaScript, Programming | View Comments









