
technologyApr 25, 201855:29pending
20 JavaScript Array and Object Methods to make you a better developer
About this episode
Wes and Scott rattle through ~20 different Object and Arra Methods that will make you a better JavaScript developer.
Freshbooks - Sponsor This is episode Wes mentions the free book Breaking The Time Barrier. Get a 30 day free trial of Freshbooks at freshbooks.com/syntax.
Netlify — Sponsor Netlify is the best way to deploy and host a front-end website. All the features developers need right out of the box: Global CDN, Continuous Deployment, one click HTTPS and more. Hit up netlify.com/syntax for more info.
They are also hiring! netlify.com/careers
Show Notes For the docs for all these, just google mdn and the method you are looking for 😃
3:00
Why are these great?
They are chainable
Immutable
5:30
.filter()
Truthy or Falsy
8:00
.map()
10:00
.reduce() - returns any shape! filter, create a new shape, add up numbers...
14:30
.forEach()
Side effects
16:00
.some()
can be used as a short circuit forEach
25:00
.every()
.includes() (why not contains?)
26:00
Array.from()
Array.from() takes a secondary map arg
Array.of()
29:00
Object.values()
Object.keys()
Object.entries()
32:00
Array spread - converts iterable to array
Array spread - Concats arrays
Array Spread + Slice. Don't splice - remove an item from an array.
34:00
Object Spread
37:00
Function Rest
39:00
Object.freeze()
40:00
Object.seal()
41:00
Object.assign() - no longer needed because you can object spread
Reference vs Copy in JavaScript
×SICK×PICKS×
Scott: Tea Haus
Wes: SOG Folding Knife
Wes: Sharpening Stone
Shameless Plugs Vue.js for Everyone
Wes' Course
SMASH that Subscribe Button on Wes' YouTube
Tweet us your tasty treats! Scott's Instagram
LevelUpTutorials Instagram
Wes' Instagram
Wes' Twitter
Wes' Facebook
Scott's Twitter
Make sure to include @SyntaxFM in your tweets
Get every episode summarized
Each time Syntax - Tasty Web Development Treats publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Syntax - Tasty Web Development Treats

1037: WebMCP is here (and you should care)
Syntax - Tasty Web Development Treats
Sep 9, 202656:30completed

1036: Cursor & OpenAI Break Up
Syntax - Tasty Web Development Treats
Sep 7, 20261:12:19pending

1035: Why everyone is moving to Stylex?
Syntax - Tasty Web Development Treats
Sep 2, 202626:36pending

1034: Omarchy Quattro Release
Syntax - Tasty Web Development Treats
Aug 31, 20261:15:47pending