Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for loop vs forEach in javaScript. #158

Open
wants to merge 304 commits into
base: development
Choose a base branch
from
Open

for loop vs forEach in javaScript. #158

wants to merge 304 commits into from

Conversation

chidsss
Copy link

@chidsss chidsss commented Oct 28, 2017

New to JavaScript like me, you may be wondering what the difference is between using a classic for loop versus using the forEach() method on arrays.

Hope this helps:
https://www.google.com/search?q=for+loop+vs+foreach+javascript&ie=utf-8&oe=utf-8&client=firefox-b-ab&gfe_rd=cr&dcr=0&ei=e0z0WbD8IIag8wfa_qDgDg

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Docs

  • What is the current behavior? (You can also link to an open issue here)
    yes

  • What is the new behavior (if this is a feature change)?
    no

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

none

  • Other information:

romellogoodman and others added 30 commits September 29, 2017 15:17
Closed the previous PR and created this new one
-13 question add with answer
Angular question added
Added Angularjs questions
Removed node_modules from git and updated package.json
Adds missing apostrophe
Added CSS focused more Questions with Answers #12
Adds additional css questions and answers to reducer_decks.js
- ES6 deck was outside of the default anonymous function causing the build to fail and preventing an `npm run dev`
- gives all decks a uniform format for readability
@papistan papistan temporarily deployed to frontendtrivia October 28, 2017 16:27 Inactive
Update JS-Functions "Why would you use an IIFE"
@papistan papistan temporarily deployed to frontendtrivia October 28, 2017 16:40 Inactive
New question "What is the difference between 'align-items' and 'align-content' properties?"(#153)
@papistan papistan temporarily deployed to frontendtrivia October 28, 2017 16:40 Inactive
Add DOM, Vue questions. Update answers. Fix typos.
@papistan papistan temporarily deployed to frontendtrivia October 28, 2017 16:42 Inactive
adds two questions to core javascript concepts
@papistan papistan temporarily deployed to frontendtrivia October 28, 2017 16:44 Inactive
@papistan papistan temporarily deployed to frontendtrivia October 28, 2017 18:07 Inactive
@papistan papistan temporarily deployed to frontendtrivia November 1, 2017 22:24 Inactive
@papistan papistan temporarily deployed to frontendtrivia November 1, 2017 22:25 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.