Skip to content

Commit af57a5b

Browse files
fixed prettier 2.js
1 parent e96d172 commit af57a5b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • Sprint-3/1-key-errors

‎Sprint-3/1-key-errors/2.js‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
// Predict and explain first BEFORE you run any code...
32
// It show the reference error cause function not assigned the variable so that, code is stuck.
43

@@ -20,11 +19,8 @@
2019

2120
// =============> write your new code here
2221
function square(num) {
23-
return num * num;
22+
return num * num;
2423
}
2524

2625
console.log(square(3));
2726
// The output of this programme is 9.
28-
29-
30-

0 commit comments

Comments
 (0)