Skip to content

Commit ce0df58

Browse files
committed
Rename parameter in square function for clarity
1 parent 117c886 commit ce0df58

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
// Finally, correct the code to fix the problem
2121

2222
// =============> write your new code here
23-
function square(n){
24-
return n * n;
23+
function square(number){
24+
return number * number;
2525
}
2626
console.log(square(77));
2727

0 commit comments

Comments
 (0)