https://jsreactnotes.online/javascript-short-circuiting/