DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript check type of variable var
> typeof "foo" "string" > typeof true "boolean" > typeof 42 "number"
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#check
#type
#variable
#var
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit