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 www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #check #data #type #js
ADD COMMENT
Topic
Name
7+3 =