Skip to content
Permalink
Browse files
JS
  • Loading branch information
townse41 committed Oct 10, 2019
1 parent 64be017 commit e9121219cf612f0e1104cc88a67a71b6499b58cc
Showing 1 changed file with 13 additions and 0 deletions.
@@ -16,6 +16,19 @@ const nums = [5, 8]
const biggest2 = largestNumber(...nums)
console.log(biggest2)




function multiply(a,b){
if (b == null){
b = 1
}
return(a*b)
}

const squareRoot = (x) => (Math.sqrt(x))

console.log("Multiply = ", multiply(4))
// example using the arguments object
function add() {
let total = 0

0 comments on commit e912121

Please sign in to comment.