JSFiddle - React, Tailwind, and code Playground
by sonylnagale
JavaScript
function helloWorld(val) {
if (val > 3) {
return ++val
} else {
return val+2
}
}
console.log(helloWorld(2))
by sonylnagale
function helloWorld(val) {
if (val > 3) {
return ++val
} else {
return val+2
}
}
console.log(helloWorld(2))