Join Nostr
2024-08-04 22:05:50 UTC
in reply to

Rob on Nostr: yup. The idea that a value that is not actually a Boolean but tests as true is called ...

yup. The idea that a value that is not actually a Boolean but tests as true is called truthiness. <code>var foo = [1, 2, 3];<br>if (foo) {<br> console.log("truthy!");<br>}<br></code>