term1 Definition1term2 Definition2term3 Definition3
Please sign in to your Google account to access your documents:
How to Random from 0-6, and RoundDown?
var randomNumber = Math.floor(Math.random()*5);
Simple Function, syntax + call
function bar(name, weight) {
if (weight>20) {
console.log(name + " says WOOF WOOF");
} else {
console.log(name + " says woof woof);
}
bark("Mafi", 25);
Function Syntax
function addScore (level, score) {
var bonus = level * score * .1;
return score + bonus;
Need help typing ? See our FAQ (opens in new window)
Please sign in to create this set. We'll bring you back here when you are done.
Discard Changes Sign in
Please sign in to add to folders.
Sign in
Don't have an account? Sign Up »
You have created 2 folders. Please upgrade to Cram Premium to create hundreds of folders!