All values are truthy except for: false, 0, "" (empty string), null, undefined, and NaN.
Confusingly, this means that the string "false", the string "0", an empty object {}, and an empty array [] are all truthy. You can double check this by passing an object into the Boolean function (e.g. Boolean("0");).
https://hackernoon.com/why-i-prefer-nw-js-over-electron-2018-comparison-e60b7289752