Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check data type in js

typeof("iAmAString");//This should return 'string'
//NO camelCase, as it is a JS Keyword
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #data #type #js
ADD COMMENT
Topic
Name
3+8 =