Monday, January 03, 2005

dltypeof - Custom JS typeof operator - DHTML Lab - WebReference.com
Javascript Guys must have used the native function typeof(), But U guys must have as well been frustrated when it returns a dumb "object" When you thought it would have returned "date" , "array" or so on.

Well here comes the dltypeof() which is not pre-build into JS... :( But thanks to WebReference DHTML article that I was going through, It helps you return a little more required datatypes "the one that you expected"

No comments: