10 Unpopular Javascript Array Methods deji adesoga on November 12, 2019 Someone is sitting in the shade today because someone planted a tree a long time ago. -Warren Buffett Introduction Arrays in javascri... Read full post Submit Preview Dismiss Collapse Expand Abe Dolinger Abe Dolinger Abe Dolinger Follow Frontend / React Native dev Location Seattle Education Flatiron School Pronouns He/him Work Mobile Engineer @ Treecard Joined Apr 5, 2019 • Nov 13 '19 Dropdown menu Copy link Hide Nice. In addition to .every, I also like .some - returns true if any match the callback. Collapse Expand deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 13 '19 Dropdown menu Copy link Hide Yeah, I didn't actually include it because it has a high query statistics on google trends. So, I guess it's kind of popular. Collapse Expand Abe Dolinger Abe Dolinger Abe Dolinger Follow Frontend / React Native dev Location Seattle Education Flatiron School Pronouns He/him Work Mobile Engineer @ Treecard Joined Apr 5, 2019 • Nov 13 '19 Dropdown menu Copy link Hide Makes sense! I really appreciate the data-driven approach (= deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 13 '19 Dropdown menu Copy link Hide Thanks very much, Abe. Collapse Expand Mario Sánchez García Mario Sánchez García Mario Sánchez García Follow Masters degree in Computer Science and DevOps engineer at PureStake. Join me discovering new technologies and learning about random stuff. Location Madrid, Spain Joined Dec 5, 2018 • Nov 13 '19 Dropdown menu Copy link Hide Hi Deji! Nice article, never heard about some of these functions, I'll try to apply them if I see the opportunity 💪 I think you have a typo on the first example. You're using keys() instead of entries(), is that right? Collapse Expand deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 13 '19 Dropdown menu Copy link Hide Thanks Mario, I really appreciate it. Yeah, my github gist was kind of messing up. But you're right, I've fixed the mistake. Collapse Expand Prahlad Yeri Prahlad Yeri Prahlad Yeri Follow Low overhead engineering takes without the corporate fluff ✍️. Computer Programmer 💻. Civilizational Observer ☕. Location India Education MCA, MA (Econ) Pronouns He/Him Work Programmer at Freelance Joined May 31, 2019 • Nov 16 '19 • Edited on Nov 16 • Edited Dropdown menu Copy link Hide At least isArray(), keys() and reverse() are something which I use pretty often, I don't think they have many substitutes either. I wonder how come they are "unpopular"! Collapse Expand deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 16 '19 • Edited on Nov 16 • Edited Dropdown menu Copy link Hide According to google trends, they are, when you compare them to .map(), .filter() and reduce(). Collapse Expand OLayemii OLayemii OLayemii Follow Passionate software developer. In love with JavaScript, Flutter, PHP and Python 😚 Email donyemisco@gmail.com Location Lagos, Nigeria Education Adekunle Ajasin University, Akungba Work Frontend Engineer at Softcom Limited Joined Mar 12, 2019 • Nov 12 '19 Dropdown menu Copy link Hide Nice article, thanks for sharing Collapse Expand deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 13 '19 Dropdown menu Copy link Hide You're welcome. Thanks. Collapse Expand PatricNox PatricNox PatricNox Follow PHP Developer with a burning passion for development and coding. Works mainly with Laravel. Email hello@patricnox.info Location Sweden Education Web developer & Frameworks @ Pronouns He/Him Work PHP x Laravel Joined Oct 14, 2019 • Nov 12 '19 Dropdown menu Copy link Hide Very nice article! I love how you structured it, specially the demonstrations. However, Seems like the example demo in #1 is the very same as #2? Typo? Collapse Expand deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 13 '19 Dropdown menu Copy link Hide Thanks PatricNox, I really appreciate your feedback. Yeah, I actually mixed up the link for the github gist. Thanks for pointing that out, Its been fixed. Collapse Expand deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 12 '19 Dropdown menu Copy link Hide Noted. Thanks for pointing that out. Correction will be made. Collapse Expand Cristhian Ramírez Cristhian Ramírez Cristhian Ramírez Follow Location Colombia Work Front end at CNPX Joined Nov 12, 2019 • Nov 13 '19 Dropdown menu Copy link Hide Thanks Deji, great article! Im beginner and this excited me for learn more about methods in javascript! Collapse Expand deji adesoga deji adesoga deji adesoga Follow Software Developer and Content Creator. Education Yaba College of Technology Work Software Developer at Enterfive Joined Apr 29, 2018 • Nov 13 '19 Dropdown menu Copy link Hide Glad it did. Thanks. Keep learning Cristhian. Code of Conduct • Report abuse
Nice. In addition to
.every, I also like.some- returns true if any match the callback.Yeah, I didn't actually include it because it has a high query statistics on google trends. So, I guess it's kind of popular.
Makes sense! I really appreciate the data-driven approach (=
Thanks very much, Abe.
Hi Deji! Nice article, never heard about some of these functions, I'll try to apply them if I see the opportunity 💪
I think you have a typo on the first example. You're using
keys()instead ofentries(), is that right?Thanks Mario, I really appreciate it.
Yeah, my github gist was kind of messing up. But you're right, I've fixed the mistake.
At least
isArray(),keys()andreverse()are something which I use pretty often, I don't think they have many substitutes either. I wonder how come they are "unpopular"!According to google trends, they are, when you compare them to .map(), .filter() and reduce().
Nice article, thanks for sharing
You're welcome. Thanks.
Very nice article! I love how you structured it, specially the demonstrations.
However,
Seems like the example demo in #1 is the very same as #2? Typo?
Thanks PatricNox, I really appreciate your feedback.
Yeah, I actually mixed up the link for the github gist. Thanks for pointing that out, Its been fixed.
Noted. Thanks for pointing that out. Correction will be made.
Thanks Deji, great article! Im beginner and this excited me for learn more about methods in javascript!
Glad it did. Thanks. Keep learning Cristhian.