From 2490f164d9e0550954fc913a21f4bd0fbf369a99 Mon Sep 17 00:00:00 2001 From: tanmayuniyal <63603732+tanmayuniyal@users.noreply.github.com> Date: Wed, 9 Aug 2023 21:07:28 +0530 Subject: [PATCH] Fixed no run button showing in some snippets. Run overlay as not showing on the website because of faulty code. Fixed. --- 1-js/02-first-steps/08-operators/article.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/02-first-steps/08-operators/article.md b/1-js/02-first-steps/08-operators/article.md index d52c37a172..5f4be21d9f 100644 --- a/1-js/02-first-steps/08-operators/article.md +++ b/1-js/02-first-steps/08-operators/article.md @@ -87,7 +87,7 @@ Usually, the plus operator `+` sums numbers. But, if the binary `+` is applied to strings, it merges (concatenates) them: -```js +```js run let s = "my" + "string"; alert(s); // mystring ``` @@ -214,7 +214,7 @@ Let's note that an assignment `=` is also an operator. It is listed in the prece That's why, when we assign a variable, like `x = 2 * 2 + 1`, the calculations are done first and then the `=` is evaluated, storing the result in `x`. -```js +```js run let x = 2 * 2 + 1; alert( x ); // 5