From a942b960fee44e750bdfe0dcf7c1029543c18b02 Mon Sep 17 00:00:00 2001 From: Jeffery Flores Date: Fri, 5 May 2023 14:14:56 -0700 Subject: [PATCH] p1 --- js/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 1ff8cc0..1375338 100644 --- a/js/app.js +++ b/js/app.js @@ -9,11 +9,14 @@ Test this function by hand in the console to get it working, and when you think // Write your code here function sum(a, b) { //eslint-disable-line + let mysum = a + b; + let mystr =`The sum of ${a} and ${b} is ${mysum}.`; + return [mysum, mystr]; } // Here is the test for sum(); uncomment it to run it -// testSum(4, 7); +testSum(4, 7); // Once you get the test passing, do an a-c-p cycle and synchronize the code between GitHub and your laptop. Don't forget to create a new branch for your work on the next question!