JSFiddle - React, Tailwind, and code Playground
by Derek Leung
JavaScript
function whatever() {
var a = 0;
var amodded = mod(a);
console.log(amodded); //should print 1
}
function mod(obj) {
return ++obj;
}
whatever();
by Derek Leung
function whatever() {
var a = 0;
var amodded = mod(a);
console.log(amodded); //should print 1
}
function mod(obj) {
return ++obj;
}
whatever();