SquirtleSquad1988 / js-function-context-this-diagnostic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

General Assembly Logo

JavaScript Scope and Context Diagnostic

The purpose of this diagnostic is to determine whether you can identify the value of this when invoked in differenct contexts.

Prerequisites

Instructions

  1. Fork and clone this repository.
  2. Change into the new directory.
  3. Install dependencies.
  4. Create and checkout a new branch, named response.
  5. Follow the directions given in lib/diagnostic.js.
  6. Before the alotted time is up, push to your fork and issue a pull request.

Your pull request description should contain a "fist to five" for comfort and clarity. Additionally, you should mention the resources you used to help you complete this assessment. For example:

Comfort: 3
Clarity: 3

I used Google and my class notes to help with this assessment.

You may wish to refer to "How do I submit diagnostics?" and other FAQs related to forking, cloning, and pull requests.

You may use any resource other than each other to complete this diagnostic. This includes referencing talk materials, appropriate documentation, and searching for help online.

You should be running grunt nag before diagnosing any bugs, since it finds some of the most common sources of errors. After grunt nag passes, you should run grunt test to run the included tests. Tests will tell you whether of not your responses are correct.

Note: For this diagnostic, grunt nag will complain about example code we have provided for the questions. You are not required to fix this warnings. Only fix warnings that occur on lines you have written for your response.

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.

About

License:Other


Languages

Language:JavaScript 100.0%