JavaScript Corner (@js_corner) header
JavaScript Corner (@js_corner) profile picture

Learn to create!

Joined September 2018
Photo by JavaScript Corner (@js_corner)Photo by JavaScript Corner (@js_corner)Photo by JavaScript Corner (@js_corner)Photo by JavaScript Corner (@js_corner)Photo by JavaScript Corner (@js_corner)
JavaScript Corner retweeted
ECMAScript proposal: JSON modules 2ality.com/2021/06/json-modu…
1
7
20
JavaScript Corner retweeted
Today is a big day for npm workspaces 😎 🚀 [email protected] In this release we just shipped the ability to add new dependencies to a workspace, along with most of the missing workspace features! ⬇️ Get it now: npm install -g npm See more in the changelog: github.com/npm/cli/releases/…
1
31
1
74
JavaScript Corner retweeted
🔥 You can submit forms from a button outside of the form tag by using the form attribute
40
344
100
2,689
JavaScript Corner retweeted
#JavaScript tip for today: When destructuring, you can set a default value for one variable to be the value of another one from the same assignment.
37
317
12
1,750
Reminder – the destructuring trick for swapping values also works with Array elements: function swap(arr: number[], i: number, j: number) { [arr[i], arr[j]] = [arr[j], arr[i]]; } exploringjs.com/impatient-js…
7
35
JavaScript Corner retweeted
💡TIP: Empty string, null, and undefined are all valid keys for Map #javascript #100DaysOfCode
20
138
7
634
JavaScript Corner retweeted
❯ npx is-github-down 🦄 It's down. Go outside!
7
33
5
231
If you have 5 minutes to spare, I made a video on the eventListener() #javaScript inbuilt method > youtu.be/KyX2dIwHssQ Hope it's clear enough and easy to understand #100DaysOfCode #coding #CodeNewbie
13
70
1
451
JavaScript Corner retweeted
How does TypeScript work? The bird’s eye view 2ality.com/2020/04/typescrip…
7
27
JavaScript Corner retweeted
🔥 #OneDevMinute JavaScript Destructuring Assignment: Unpack values/properties into distinct variables. 🔘 Values from arrays. 🔘 Properties from objects. #CodeNewbie #100DaysOfCode
11
28
JavaScript Corner retweeted
Strategies for migrating to TypeScript 2ality.com/2020/04/migrating…
4
16
TC39 panel at JSConf Hawaii 2020, moderated by Cassidy Williams [47-min. video] @cassidoo @tc39 youtube.com/watch?v=7UmhSRWQ… ^ar
3
8
How to make a 'READ MORE' function for your website in pure #JavaScript #HTML and #CSS! A break from my typical #JavaScriptGames. Video, along with 2 more, coming this week on https://xitter.gq/t.co/Ox7mkpuFXM 💕 #100DaysOfCode #coding #StayHome
3
7
1
39
JavaScript Corner retweeted
Typing functions in TypeScript 2ality.com/2020/04/typing-fu…
6
1
13
JavaScript Corner retweeted
Avoid stacking serial network requests. #JavaScript
10
313
14
1,514
JavaScript Corner retweeted
Why I no longer write classes in #Javascript: I don't need them. Instead, I use: 1. Plain objects (data only, no behavior) 2. Pure functions (no side-effects, no outside dependencies) Easy to test. ✅ Easy to understand. 🧠 Easy to compose. 🏘
58
266
35
1,689
JavaScript Corner retweeted
Javascript quiz ➡ 7 What is the result of the length? Just solve it & leave your answer in the comment section. #100DaysOfCode #freeCodeCamp
15
21
2
39
JavaScript Corner retweeted
ECMAScript 2020: the final feature set 2ality.com/2019/12/ecmascrip…
11
29
JavaScript Corner retweeted
Tip: JavaScript's Array.flat() accepts a depth parameter. Array.flat(Infinity) flattens recursively until the array contains no more nested arrays! https://xitter.gq/t.co/n4FI1nS2Ii
17
469
16
2,050