Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Yes, I Know IT ! 🎓 (yesiknowit@mastodon.social)'s status on Tuesday, 09-Jul-2019 06:35:11 EDT Yes, I Know IT ! 🎓 Yes, I Know IT ! 🎓

    If you like writing your JavaScript code in a functional style, you may already know the `Array.map` and `Array.filter` methods.
    But is there a way to combine them? And will this be a more efficient solution?
    http://www.yesik.it/blog/2018-javascript-map-filter-and-reduce-compared

    #JavaScript #FunctionalStyle #Array #Filter #Map #Reduce

    In conversation Tuesday, 09-Jul-2019 06:35:11 EDT from mastodon.social permalink

    Attachments

    1. How to use the Array.reduce method to combine the map and filter operations
      from Yes I Know IT!
      Maybe did you already know how to use the `filter` and `map` array methods in JavaScript? But how to perform those operations both at the same time? `Array.reduce` is the solution...
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.