From e06dcb1af75f5307f1f0d9092d53731270c64f44 Mon Sep 17 00:00:00 2001 From: oabdelnour <oabdelnour@takima.fr> Date: Mon, 26 Feb 2024 16:11:02 +0100 Subject: [PATCH] wip code blcoj --- resources/docs/docs/chapters/tp/arrow-functions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/docs/docs/chapters/tp/arrow-functions.md b/resources/docs/docs/chapters/tp/arrow-functions.md index f833eaf..459c68b 100644 --- a/resources/docs/docs/chapters/tp/arrow-functions.md +++ b/resources/docs/docs/chapters/tp/arrow-functions.md @@ -127,7 +127,7 @@ Concatenating strings is not something we enjoy in any language. Fortunately, _E === "without template literals" -```js{} +```js const welcome = "welcome back " + user.name + ".\n" + "You have " + messages.length + " message" + messages.length ? "s" : "" + "to read."; @@ -135,7 +135,7 @@ const welcome = === "with template literals" -```js{} +```js const welcome = `welcome back ${user.name}. You have ${messages.length} message${messages.length ? "s" : ""} to read.`; -- GitLab