Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert number to boolean javascript

const number = 100;

!!number; // true
Boolean(number); // true
Source by www.samanthaming.com #
 
PREVIOUS NEXT
Tagged: #convert #number #boolean #javascript
ADD COMMENT
Topic
Name
1+8 =