Restructure the Solution for 'Army of Functions' task and Fix Typos

Fix #2068 - Army of Functions
Fix #2070 - Typo
Fix #2056 - Grammatical Error
Fix #2074 - Remove semi-colon after function declaration
This commit is contained in:
MuhammedZakir 2020-09-01 11:21:22 +05:30
parent 2f4747be58
commit 0f5b63d86f
8 changed files with 136 additions and 49 deletions

View file

@ -9,7 +9,8 @@ let b = "2"; // prompt("Second number?", 2);
alert(a + b); // 12
```
What we should to is to convert strings to numbers before `+`. For example, using `Number()` or prepending them with `+`.
What we should do is to convert strings to numbers before `+`. For example, using `Number()` or
prepending them with `+`.
For example, right before `prompt`: