Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

empty object is falsy

// In JS {} (empty object) is *not* falsy

let s = {};
Boulean(s)
// -> True
 
PREVIOUS NEXT
Tagged: #empty #object #falsy
ADD COMMENT
Topic
Name
9+6 =