Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
CJLucido
JavaScript-III
Repository navigation
Code
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Commiting changes for Week 3 day 3 Challenge
- #1
#1
Open
CJLucido
wants to merge 12 commits into
master
CJLucido/JavaScript-III:master
from
carlo-lucido
CJLucido/JavaScript-III:carlo-lucido
Copy head branch name to clipboard
Conversation
Commits
12
(12)
Checks
Files changed
Open
Commiting changes for Week 3 day 3 Challenge
#1
CJLucido
wants to merge 12 commits into
master
CJLucido/JavaScript-III:master
from
carlo-lucido
CJLucido/JavaScript-III:carlo-lucido
Copy head branch name to clipboard
Commits
Commits on Sep 18, 2019
gave an overarching definition of 'this' in my words and one for window binding
CJLucido
committed
93e1b38
View commit details
Copy full SHA for 93e1b38
Browse repository at this point
wrote explanations of the 4 'this' principles
CJLucido
committed
3719795
View commit details
Copy full SHA for 3719795
Browse repository at this point
added code as an example of window binding
CJLucido
committed
1a61170
View commit details
Copy full SHA for 1a61170
Browse repository at this point
added code as an example of implicit binding, new binding, and explicit binding
CJLucido
committed
1e3e84e
View commit details
Copy full SHA for 1e3e84e
Browse repository at this point
made a GameObj constructor and a CharStats constructor, made a CharStats prototype Fn, nested CharStats in GameObj for inheritance, need to make destroy Fn a prototype Fn
CJLucido
committed
7edadc5
View commit details
Copy full SHA for 7edadc5
Browse repository at this point
made a GameObj prototype and added a this.destroy to CharStats hoping it will inherit it from its prototype
CJLucido
committed
c6f597f
View commit details
Copy full SHA for c6f597f
Browse repository at this point
added humanoid constructor and humanoid prototype Fn as nested elements in CharStats
CJLucido
committed
c2b091a
View commit details
Copy full SHA for c2b091a
Browse repository at this point
the constructor Fns didn't need to be nested- fixed, the upper level constructors had to be called by the lower - fixed
CJLucido
committed
400963a
View commit details
Copy full SHA for 400963a
Browse repository at this point
fixed returns to return in humanoid proto
CJLucido
committed
c4c4420
View commit details
Copy full SHA for c4c4420
Browse repository at this point
takeDamage and Destroy Fns weren't working because I needed two different Object.create for the constructors to inherit prototype functions, couldn't write 2 humanoid object.creates because one wou…
Show description for 5ee2cde
CJLucido
committed
5ee2cde
View commit details
Copy full SHA for 5ee2cde
Browse repository at this point
Post MVP: added Hero and Villian constructor Fns and made their prototypes use Humanoid.prototype as a basis
CJLucido
committed
50ff7b1
View commit details
Copy full SHA for 50ff7b1
Browse repository at this point
a hero and villian are added to the game, inheriting from humanoids. They battle on the console.
CJLucido
committed
cbbee22
View commit details
Copy full SHA for cbbee22
Browse repository at this point
You can’t perform that action at this time.