From 1fc6a97f401dda5ad96798fe6bb9518256f5aa76 Mon Sep 17 00:00:00 2001 From: Benjamin Claassen Date: Tue, 14 Jan 2025 23:19:05 +0100 Subject: [PATCH] Updated notes slightly --- reviews/BordedDev/notes.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reviews/BordedDev/notes.md b/reviews/BordedDev/notes.md index 0f4d2de..c95a753 100644 --- a/reviews/BordedDev/notes.md +++ b/reviews/BordedDev/notes.md @@ -27,4 +27,6 @@ You can use `||=` for assigning to an undefined variable (if it's undefined) Borders are on all grid elements, causing a double border on the edges I'd recommend running Biome.js or ESlint + Prettier to clean up the code -(if you're using ML you can even make these strict enough about ordering and naming conventions) \ No newline at end of file +(if you're using ML you can even make these strict enough about ordering and naming conventions) + +When you create an object where the key's and value's name are the same, you can use the shorthand `{ value }` instead of `{ value: value }` \ No newline at end of file