From 8c662383a6e487b04076c59160c7e06c218f3e5a Mon Sep 17 00:00:00 2001 From: oabdelnour <oabdelnour@takima.fr> Date: Mon, 26 Feb 2024 16:50:56 +0100 Subject: [PATCH] wip --- resources/docs/docs/chapters/tp/arrow-functions.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resources/docs/docs/chapters/tp/arrow-functions.md b/resources/docs/docs/chapters/tp/arrow-functions.md index c0585d4..9963092 100644 --- a/resources/docs/docs/chapters/tp/arrow-functions.md +++ b/resources/docs/docs/chapters/tp/arrow-functions.md @@ -73,6 +73,13 @@ Waiting a certain amount of time can be easily done using the [`setTimeout()`](h > ``` > **danger** Regular functions declared with the **`function` keyword have `this` inherited from the caller**, whereas **arrow functions have a `this` inherited from the declaring scope**. + +??? note + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod + nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor + massa, nec semper lorem quam in massa. + ??? Show the game.js file -- GitLab