Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js value to boolean

const message = '';
console.log(!! message) // false
Source by www.interviewbit.com #
 
PREVIOUS NEXT
Tagged: #js #boolean
ADD COMMENT
Topic
Name
2+2 =