Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript operator double not

// convert to boolean 
// The following examples are the only values which result in a false expression

!!0 // false
!!"" // false
!!null // false
!!undefined // false
!!NaN // false
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #operator #double
ADD COMMENT
Topic
Name
2+9 =