Skip to content

Commit c094e79

Browse files
committed
Add prediction comment explaining potential SyntaxError in convertToPercentage function
1 parent 24548db commit c094e79

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • Sprint-3/1-key-errors

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Predict and explain first...
2+
// My prediction is the program would throw a SyntaxError, because 'decimalNumber' has already been declared as a parameter and also has been declared as a new variable in the same scope
23

34
// Why will an error occur when this program runs?
45
// =============> write your prediction here

0 commit comments

Comments
 (0)