Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typeof in js

typeof("iAmAString");//This should return 'string'
//NO camelCase, as it is a JS Keyword
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #typeof #js
ADD COMMENT
Topic
Name
2+5 =