From 8441c001b3355dfc4e6540fc5d80057fdc70058d Mon Sep 17 00:00:00 2001 From: Habeeb Shopeju Date: Wed, 14 Nov 2018 08:56:38 +0100 Subject: [PATCH] Update article.md Minor correction regarding condition for strings to numbers type conversion. --- 1-js/02-first-steps/06-type-conversions/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/06-type-conversions/article.md b/1-js/02-first-steps/06-type-conversions/article.md index 90a418e3..9f28bc5d 100644 --- a/1-js/02-first-steps/06-type-conversions/article.md +++ b/1-js/02-first-steps/06-type-conversions/article.md @@ -91,7 +91,7 @@ alert( 1 + '2' ); // '12' (string to the right) alert( '1' + 2 ); // '12' (string to the left) ``` -That only happens when one of the arguments is a string. Otherwise, values are converted to numbers. +That only happens when at least one of the arguments is a string. Otherwise, values are converted to numbers. ```` ## ToBoolean