What's this code snippet going to display in the console?

Triggered!Not triggered!

That's right! It doesn't matter what's in the string variable. As long as it isn't an empty string, the condition will return true.

Not quite! It doesn't matter what's in the string variable. As long as it isn't an empty string, the condition will return true.