https://ruclips.ru/en/watch/AFakRRI6pdg/javascript-tricks-booleans-arithmetic