From d76a284871066e2409ad58f4dd2bc4e1611275eb Mon Sep 17 00:00:00 2001 From: aditya3akd <96765957+aditya3akd@users.noreply.github.com> Date: Sun, 23 Jan 2022 16:22:24 +0530 Subject: [PATCH] Update sample.js --- code_samples/sample.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code_samples/sample.js b/code_samples/sample.js index 1181aec..10b1f83 100644 --- a/code_samples/sample.js +++ b/code_samples/sample.js @@ -1,6 +1,6 @@ function add_two_numbers(a,b) { - const sum - a + b + const sum = a + b console.log(sum) } -add_two_numbers(5,2) // expected result 7 \ No newline at end of file +add_two_numbers(5,2) // expected result 7