New course! Every coder should learn Generative AI!
Try a free lesson0
Please can someone tell me how I can return an if statement in js
2 Answers
+ 1
function check(condition, funct){
return if(eval(condition)){funct()};}
+ 1
Question unclear, what do you want to do?