Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 2.03 KB

README.md

File metadata and controls

37 lines (22 loc) · 2.03 KB

Using JavaScript Array Methods

This site is a simple demonstration on how to use map() and forEach() methods in javascript.

contributions welcome

Motivation

When I first used React.js, I discovered the javascript method map() to iterate over data in JSX. Having some previous experience writing functional code in JavaScript I already knew about forEach(). At first glance, I thought they served the same purpose, but when I tried using forEach() in JSX it spit out a bunch of errors.

This set me on a journey to take a deep dive into understanding the nature of these methods. This repository is a collection of my experiments and notes, which I've turned into a github page. I also published an article of my discoveries on Medium.com The power of the map method.

Now, I am looking for recent bootcamp grads, bootcamp students, or any coders who are looking to up their coding skills and learn more about javascript make a fun educational website based on this content.

Build status

active

Installation

  git clone https://github.com/ptums/using-javascript-map-foreach-method.git

How To Use

Fork this repo, open the repository in your favorite code editor and get hacking!

Contribute

  1. Fork it
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar'). Please use Udacity Git Commit Message Style Guide when writing commit messages.
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request