From c0ebcf3fcaee393f4642844384add05307133a28 Mon Sep 17 00:00:00 2001 From: Vikram Sethi Date: Tue, 20 Jun 2023 15:14:58 -0500 Subject: [PATCH] Added new JavaScript function for product --- JavaScript/Functions.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/JavaScript/Functions.js b/JavaScript/Functions.js index d6d831b..4cc8a5e 100644 --- a/JavaScript/Functions.js +++ b/JavaScript/Functions.js @@ -7,4 +7,8 @@ function returnSmallest(a, b) { } } -// Add your functions below this line :) ------------------------------------ \ No newline at end of file +// Add your functions below this line :) ------------------------------------ + +function returnProduct(a, b) { + return a * b; +} \ No newline at end of file