Perbedaan forEach,map, filter

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #202738
    calonprogrammer 123
    Participant

      Permisi coach, Perbedaan dari setiap 3 fungsi itu apa ya?

      #202945
      Coach Vincent
      Moderator

        .forEach mirip sperti for biasa
        .map menghasilkan array baru dari hasil proses
        .filter menghasilkan arra dari hasil filter

        #203031
        calonprogrammer 123
        Participant

          Baik coach, terimakasih 🙏

          #203033
          Coach Vincent
          Moderator

            utk lbh lanjut bisa cb cek link ini ya

            https://northcoders.com/company/blog/the-beginners-guide-to-.foreach-.map-and-.filter-in-javascript

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.
          Shopping cart0
          There are no products in the cart!
          Continue shopping