Tuesday 23 September 2014

How to find variable type in js & jquery?

var str = "string";
alert(typeof(str)); //output: string

No comments:

Post a Comment