We help JavaScript developers make more money - and enjoy themselves in the process. bytes.dev – npmtrends.com – reactnewsletter.com – usehooks.com

We're here now.

ALT Big Hero Six Hug GIF

Replying to @derenezgii
The "or pay monthly for $40" is clickable. I'll make an update to make that more clear.
1
🍦 New Event "Building brain-controlled interfaces in JavaScript" with @devdevcharlie Thursday May 20th
11
🧁 New ui.dev Event! "React is hard, but not in the way you might think" with @NikkitaFTW Thursday May 13, at 12pm PT
4
25
🍦 New Event! "Build Fullstack Apps in Record Time with Blitz.js" w/ @flybayer Thursday, May 6th at 12pm PT
1
13
🍦 new Event! Designing Scalable Schemas with GraphQL with @eveporcello This Thursday - April 29th, 2021
11
🚨 New Event! "Create a Backend in Clicks with the Amplify Admin UI" with @ASpittel This Thursday at 12 PT ui.dev/events/
1
8
🚨 New ui.dev Event - "A Practical Introduction to the Jamstack" with @remotesynth This Thursday at 12PT ui.dev/events
2
🚨 New Event! "Explosive Velocity with TypeScript, Next.js and Tailwind" with @TejasKumar_ This Thursday at 12PM PT ui.dev/events
4
20
🚨 New Event! "Svelte for the Intellectually Curious" by @swyx This Thursday at 12PT ui.dev/events/
3
14
🚨 New Event! "Fast Learning for Developers" by @jsjoeio this Thursday. More info? ui.dev/events
2
1
13
🚨 New Event! "How to Use Next.js to Improve your Site's Google Search Ranking" with @leeerob. Thursday, 2/25 at 12pm PT More info? ui.dev/events/
3
17
🚨 New Event! "Writing & Compiling Your Own Language to WebAssembly" with @jayphelps This Thursday, 2/18 at 12pm PT Want to attend? ui.dev/events
1
6
15
🚨 New Event Alert! "CSS From First Principles" by @JoshWComeau This Thursday, February 4th at 12pm PT Want to join? ui.dev/events/
4
42
A story in two parts. npmjs.com/package/animexyz
1
24
124
🎟 New Event! "Building Custom Data Visualizations in React" with @Wattenberger This Thursday at 12 PT. ui.dev/events/
7
25
📫 New Bytes issue. "We wasn't supposed to make it past 25" ui.dev/newsletters/bytes/25/
1
3
14
🎟 New Event! "The Path To Microfrontends" by @aahfrena Thursday January 7th at 12pm PT Interested? ui.dev/events
2
12
🎟 New Event! "Visualizing App Logic with XState" by @DavidKPiano Thursday November 19th at 12pm PT Interested? ui.dev/events
9
43
🚨🚨🚨 Interested in what all the hype with @remix_run is about? Join @ralex1993 as he dives into it LIVE including topics like caching, styling, authentication and cookies, nested routes, and more! Starting 👉 now 👈. piped.video/watch?v=Kwijy7be…
3
12
📅 New Event! "Shipping high quality React apps with confidence" by @tlakomy Thursday December 10th, 12PM PDT ui.dev/events/
8
19
📅 New Event (and it's a cool one)! "How Forbidden Planet Cured My Imposter Syndrome" by @knitcodemonkey Thursday November 12th, 12PM PDT ui.dev/events/
2
6
📅 Schedule it. "Introduction to Vue 3" by Vue core team member @bencodezen Thursday October 29th, 12PM PDT ui.dev/events/
9
25
📅 Another one. "Next.js on AWS" by @dabit3 Thursday October 22nd, 12PM PDT ui.dev/events/
1
14
📅 New Event! "Modern Redux with Redux Toolkit" by @acemarke Thursday October 15th, 12PM PDT ui.dev/events/
5
44
📅 New event! "Examining Observability in Node.js" with @lizparody23 Thursday October 8th, 12PM PDT ui.dev/events/
2
12
📅 Schedule it. "TypeScript + React = ❤️" by @benmvp this Thursday at 11AM PDT. More info here - ui.dev/events/
3
27
🗞 New Bytes: "The best Vue comes after t̶h̶e̶ ̶l̶o̶n̶g̶e̶s̶t̶ ̶c̶l̶i̶m̶b̶ 37 RFCs" ui.dev/newsletters/bytes/14/
1
4
19
New Bytes: "Testing? We're talkin' bout' testing?" ui.dev/newsletters/bytes/10/
4
filter creates a new array after filtering out elements that don’t pass a test specified by a given function.
2
With pop decrement length, grab the item at the new length, delete it, then return the item that was removed.
1
2
We can leverage the this keyword to figure out which instance invoked the method. For push, we need to add the element to the end of our "array" and then return the new length.
1
2
Now we need to implement push, pop, and filter. Since we want these to be shared across all instances of array, we're going to put them on array.prototype.
1
2
Now, array should accept n amount of arguments and add those as numerical properties onto the object.
1
2
array needs to return an object with a length property that delegates to array.prototype. Since we don't want length to be enumerable, we can create it with Object.defineProperty.
1
2
It’s a little weird to have an object with numerical keys (since that’s literally what an array is for), but it paints a good picture that arrays really are just fancy objects. With this in mind, we can take the first step for creating our array function.
1
2
An array is just an object with numerical keys and a length property that’s managed automatically for you.
1
3
"The future of this channel" piped.video/watch?v=mhJvb8ge…
1
2
17

ALT Creep Yes GIF

3