Skip to content

Instantly share code, notes, and snippets.

View ShannonPaige's full-sized avatar

Shannon Paige ShannonPaige

View GitHub Profile

JavaScript Functions

I can explain the difference between function declarations and function expressions. Yes. Declarations can get used higher than they are written, expressions can't.

I can explain what the value of this is in a normal function. Global window

I can explain what the value of this is when called from the context of an object. The object

@ShannonPaige
ShannonPaige / require.markdown
Last active March 29, 2016 02:15 — forked from rrgayhart/require.markdown
The Concept of Require

When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.

Read Node.js, Require and Exports and Organize Your Code with RequireJS

Fork this gist and answer the following questions:

  • In the context of Node, what is a module?

Array Prototype Methods

I understand that functions in JavaScript can take any number of arguments.

Check

I can describe the similarity between blocks in Ruby and anonymous functions in JavaScript.

Yep

@ShannonPaige
ShannonPaige / package-management.markdown
Last active March 24, 2016 17:49 — forked from rrgayhart/package-management.markdown
The Dangers of Using Code You Don't Control

Setting Group Expectations

Group Member Names: Matt, Cole, Mike, Shannon

Turkey and Chicken handshakes established.

  1. When are group members available to work together? What hours can each group member work individually? Are there any personal time commitments that need to be discussed? Mike - free all the time Shannon - not late Cole - busy on Tuesdays and Wednesday 4-5 and in-laws in town until Wednesday