ecmascript-types
ecmascript-types copied to clipboard
Define implicit type conversion to boolean for each type
Refer to this: https://dorey.github.io/JavaScript-Equality-Table/
Type conversions to boolean should be clearly defined when used in conditional statements.
Basic tag has been created: https://github.com/sirisian/ecmascript-types#if-else
Need to include ternary operator considerations if applicable.