DEV Community

Cover image for console.log()
SAMUEL Omaiye Oche
SAMUEL Omaiye Oche

Posted on

console.log()

const str = 'scripting'

console.log(!!str)
console.log(str == true)
console.log(str ? 'true' : 'false')

*Perhaps, we can start from here. Tell us what'd be logged in your console...
*

Top comments (0)