From 534c557ecd42c6d61a026d15e33a741c3b85970e Mon Sep 17 00:00:00 2001 From: Felipe Lerma Date: Mon, 25 Sep 2017 22:20:02 -0700 Subject: [PATCH] Update Solution.md - Task Typo Fix. changed "substruction" to "subtraction" in Task section of "Type Conversions." --- .../1-primitive-conversions-questions/solution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/solution.md b/1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/solution.md index 0e1be244..a4f3fec7 100644 --- a/1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/solution.md +++ b/1-js/02-first-steps/06-type-conversions/1-primitive-conversions-questions/solution.md @@ -17,6 +17,6 @@ undefined + 1 = NaN // (4) ``` 1. The addition with a string `"" + 1` converts `1` to a string: `"" + 1 = "1"`, and then we have `"1" + 0`, the same rule is applied. -2. The substruction `"-"` (like most math operations) only works with numbers, it converts an empty string `""` to `0`. +2. The subtraction `"-"` (like most math operations) only works with numbers, it converts an empty string `""` to `0`. 3. `null` becomes `0` after the numeric conversion. 4. `undefined` becomes `NaN` after the numeric conversion.