• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

bloominstituteoftechnology/JavaScript-II

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

bloominstituteoftechnology/JavaScript-II

开源软件地址:

https://github.com/bloominstituteoftechnology/JavaScript-II

开源编程语言:

JavaScript 97.3%

开源软件介绍:

JavaScript - II

With some basic JavaScript principles in hand, we can now expand our skills out even further by exploring callback functions, array methods, and closure. Finish each task in order as the concepts build on one another.

Set Up The Project With Git

Follow these steps to set up and work on your project:

  • Create a forked copy of this project.
  • Add your team lead as collaborator on Github.
  • Clone your OWN version of the repository (Not Lambda's by mistake!).
  • Create a new branch: git checkout -b <firstName-lastName>.
  • Implement the project on your newly created <firstName-lastName> branch, committing changes regularly.
  • Push commits: git push origin <firstName-lastName>.

Follow these steps for completing your project.

  • Submit a Pull-Request to merge Branch into master (student's Repo). Please don't merge your own pull request
  • Add your team lead as a reviewer on the pull-request
  • Your team lead will count the project as complete by merging the branch back into master.

Task 1: Higher Order Functions and Callbacks

This task focuses on getting practice with higher order functions and callback functions by giving you an array of values and instructions on what to do with that array.

  • Review the contents of the callbacks.js file. Notice you are given an array at the top of the page. Use that array to aid you with your functions.

  • Complete the problems provided to you but skip over stretch problems until you are complete with every other JS file first.

Task 2: Array Methods

Use .forEach(), .map(), .filter(), and .reduce() to loop over an array with 50 objects in it. The array-methods.js file contains several challenges built around a fundraising 5K fun run event.

  • Review the contents of the array-methods.js file.

  • Complete the problems provided to you but skip over stretch problems until you are complete with every other JS file first.

  • Notice the last three problems are up to you to create and solve. This is an awesome opportunity for you to push your critical thinking about array methods, have fun with it.

Task 3: Closures

We have learned that closures allow us to access values in scope that have already been invoked (lexical scope).

Hint: Utilize debugger statements in your code in combination with your developer tools to easily identify closure values.

  • Review the contents of the closure.js file.
  • Complete the problems provided to you but skip over stretch problems until you are complete with every other JS file first.

Stretch Goals

  • Go back through the stretch problems that you skipped over and complete as many as you can.
  • Look up what an IIFE is in JavaScript and experiment with them



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap