fork(1) download
  1. // your code goes here
  2. function myfunc(price){ return price-(price*0.2)};
  3. let text="";
  4. let isMemb=true;
  5. if(isMemb) {text="price:" + myfunc(100);}
  6. else {text="price:100";}
  7. console.log(text)
Success #stdin #stdout 0.03s 16632KB
stdin
Standard input is empty
stdout
price:80