Answers for "javascript turn string into boolena"

1

convert string to boolean js

var myBool = Boolean("false");  // == true

var myBool = !!"false";  // == true
Posted by: Guest on October-14-2021

Code answers related to "javascript turn string into boolena"

Browse Popular Code Answers by Language