jQuery.type
In my last post I wrote about how to detect a JavaScript array, so I thought it would be a good idea to see how jQuery does it.
In my last post I wrote about how to detect a JavaScript array, so I thought it would be a good idea to see how jQuery does it.
Do you want to know how the trim method works in jQuery? Today is lucky day.
The other day I was re-watching (haha, learning through repetition) "11 More
Things I Learned from the jQuery Source" and this time I was quite amazed when
Paul Irish talked about parseJSON
. And the reason was the way jQuery makes the
JSON object, it's clever, it's very clever.