I am curious if this has any applications and why the output is True.
const string = 'string';
let boolstring=Boolean(string); // true
console.log(boolstring);
Course: Complete JavaScript Course: Build a Real World App from Scratch - Learn Interactively
Lesson: Type Conversions - Complete JavaScript Course: Build a Real World App from Scratch