Skip to content

Instantly share code, notes, and snippets.

View lisawilliams's full-sized avatar

Lisa Williams lisawilliams

View GitHub Profile

Javascript Function Challenges

  1. Create a program that will add two numbers and return the answer
    add(1,2) // should return 3
  2. Create a program that will add or subtract two numbers and return the answer
    calculator(1, 2, "add") // should return 3