Answers for "check javascript"

2

fill checkbox javascript

// Check
document.getElementById("checkbox").checked = true;

// Uncheck
document.getElementById("checkbox").checked = false;
Posted by: Guest on September-12-2020
0

javascript code checker

main();
function myFunction(x,y){
    if((x >=40 && x <=60)||(y >=40 && y <= 60)){
        if(a>b){
            return console.log(a);
        }
        else{
            return console.log(b);
        }
    }
    else{
        return false
    }
}
myFunction(39,61);
myFunction(45,61);
myFunction(25,59);
myFunction(45,55);
Posted by: Guest on October-06-2021
-2

javascript code checker

var total = 0;
var limit = 10;

for (var i=0; i<limit; i++) {
  total+=i
};
console.log(total);
Posted by: Guest on February-04-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language