Skip to content

Jason Cook - Javascript III - #459

Open
sysRoot wants to merge 9 commits into
bloominstituteoftechnology:masterfrom
sysRoot:master
Open

Jason Cook - Javascript III#459
sysRoot wants to merge 9 commits into
bloominstituteoftechnology:masterfrom
sysRoot:master

Conversation

@sysRoot

@sysRoot sysRoot commented Oct 23, 2018

Copy link
Copy Markdown

A pull request, to have my work reviewed by @abravebee and whomever else at Lambda.

I had to do a rebase, after speaking to a PM. Accidentally submitted sensitive data.

Accidentally pushed sensitive info, rebased.
I apologize, I had made a note within my prototype.js file and on
accident, I submitted it with the code.
I have tried to clean up my rebase. Conflict with VSCode resolved.
@abravebee

Copy link
Copy Markdown

Objectives

  • This challenge focuses on using the this keyword as well as getting comfortable with prototypes by building out a fantasy themed video game.

MVP

this

  • Principle 1: Window Binding
  • Principle 2: Implicit Binding
  • Principle 3: New Binding
  • Principle 4: Explicit Binding

prototypes

  • GameObject
  • CharacterStats
  • Humanoid

Stretch

  • Constructors
  • Methods
  • Objects

Great

Putting your answers in the console.logs of your examples was a creative idea!! Excellent work with your this principles and prototypes! Love your stretch assignment as well!

Requests for Improvement

  • In your this assignment, the console is not able to display the actual contents when you are only calling this or this.objectName, and only displays `[Object object]. If you want these to show the contents in the console, just wrap them in JSON.stringify.
    • For example, ${JSON.stringify(this.globalVar)} shows {"name":"Some Object"}.

Rating: 3

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.

2 participants