// sum functionfunctionsum(a,b){returna+b;}// dividefunctiondivide(a,b){returna/b;}functionmultiply(a,b){returna*b;}functionsubtract(a,b){returna-b;}// input from console?conststring='string';letboolstring=Boolean(string);// trueconsole.log(boolstring);constnumber=-100;letboolnumber=Boolean(number);// trueconsole.log(boolnumber);// get false constzero=0;letboolzero=Boolean(zero);// falseconsole.log(boolzero);constemptystring='';letboolemptystring=Boolean(emptystring);// falseconsole.log(boolemptystring);