Eugene Zolotarenko Profile picture
Nov 22, 2021 β€’ 10 tweets β€’ 3 min read β€’ Read on X
7 JavaScript Array methods which you 104% must know! 🀨🀨🀨

πŸ‘‡ Follow Thread 🧡
1. array.map()

Using map(), we can iterate through all items in an array, taking actions on each one. The result of this operation is provided as a new array. Image
2. array.filter()

Using filter(), we can iterate through all items in an array and filter them depending on conditions inside a method. The result of this operation is provided as a new array. Image
3. array.find()

Using find(), we can iterate through all items in an array and find the first one which meets conditions inside a method. The result of this operation is provided as a single item. Image
4. array.some()

Using some(), we can iterate through all items in an array and check if at least one of them meets conditions inside a method. The result of this operation is provided as a boolean value. Image
5. array.every()

Using every(), we can iterate through all items in an array and check if all of them meet conditions inside a method. The result of this operation is provided as a boolean value. Image
6. array.sort()

Using sort(), we can sort items inside an array by conditions inside a method. The result of this operation is provided as the same array (NOT NEW ARRAY). Image
7. array.reduce()

Using reduce(), you can do a lot of useful array manipulations. This method performs a concrete accumulative operation on its items to calculate a result value. Image
That's all folks! πŸ”₯🧯

If you found this thread useful, please consider following @eugZolotarenko and retweeting the first tweet. πŸ“’

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with Eugene Zolotarenko

Eugene Zolotarenko Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @eugZolotarenko

Jan 23, 2022
17 GitHub Repositories for Web Developers to complete Tech Interviews with ease! 🎯

πŸ‘‡ Follow Thread 🧡
1. JavaScript Interview Questions & Answers
github.com/sudheerj/javas…
2. Back-End Developer Interview Questions
github.com/arialdomartini…
Read 19 tweets
Jan 21, 2022
5 JavaScript Interview Questions and Answers πŸ†πŸ†πŸ†

Part 4 (16-20 from 50 questions)

πŸ‘‡ Follow Thread 🧡
Set of all previous JS Interview Q&A πŸ‘‡
twitter.com/i/events/14831…
16. What is closure?

A closure is the combination of functions where one is inside the other. Such combination creates lexical scope where the inner function has access to information from an outer function.
Read 15 tweets
Jan 18, 2022
5 JavaScript Interview Questions and Answers πŸ˜‹πŸ˜‹πŸ˜‹

Part 2 (11-15 from 50 questions)

πŸ‘‡ Follow Thread 🧡
Set of all previous JS Interview Q&A πŸ‘‡
twitter.com/i/events/14831…
11. What is a strict mode?

Strict mode is activated by writing β€œuse strict” at the beginning of the file.

Strict mode changes JS by:
- Eliminating some JS errors by changing them to throw errors.
- Fixing mistakes that make it difficult for JS engines to perform optimizations.
Read 12 tweets
Jan 10, 2022
5 JavaScript Interview Questions and Answers πŸ€“πŸ€“πŸ€“

Part 1 (1-5 from 50 questions)

πŸ‘‡ Follow Thread 🧡
1. What is a JavaScript?

JavaScript is a multi-paradigm and high-level programming language.
It’s extremely popular in the Web Development world and especially on the client-side part (Front-end). However, it also can be used in other software development fields.
2. What is the original name of JavaScript?

The early version of JavaScript was called Mocha. Just after a Mocha prototype was introduced, the name was changed to LiveScript. Finally, it was named JavaScript because of the popularity of Java.
Read 12 tweets
Jan 4, 2022
10 JavaScript Repositories every Web Developer must visit. 🀫🀫🀫

πŸ‘‡ Follow Thread 🧡
1. JavaScript Questions

A huge list of multiple-choice JavaScript questions! From basic to advanced: test how well you know JavaScript, refresh your knowledge a bit, or prepare for your coding interview!
github.com/lydiahallie/ja…
2. Airbnb JavaScript Style Guide

All best practices and proper ways of writing JavaScript code in one Repository.

It also contains explanations and references, to assist you in writing more reliable, clean, and error-free code.
github.com/airbnb/javascr…
Read 13 tweets
Dec 29, 2021
15 Useful Tools for Web Developers 😘😘😘

πŸ‘‡ Follow Thread 🧡
1. Haikei

A web-based design tool to generate unique SVG design assets for websites, social media, blog posts, pitch decks, and more! Choose a visual from our growing list of generators, customize, randomize, and export it as an SVG or a PNG.

haikei.app
2. Doodleipsum

Doodle Ipsum is a free illustration tool for devs powered by Blush! Inspired by the classic Lorem Ipsum, it automagically generates placeholder illustrations with a simple line of code.

doodleipsum.com
Read 17 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(