Sania Parekh CS 11 Javascript III - #96
Open
sparekh315 wants to merge 1 commit into
Open
Conversation
… not made much of any progress with this, very much still figuring it out.
brcampbell001
left a comment
There was a problem hiding this comment.
Overall, you did well on this! You just had a few misplaced characters that, once removed, allowed it to run and print out. Great job Sania!
| function CharacterStats(gameAttributes) { | ||
| this.hp = gameAttributes.hp; | ||
| this.name = gameAttributes.name; | ||
| ] GameObject.call(this, gameAttributes); |
There was a problem hiding this comment.
You did a good job on this assignment! It looks like you have a few characters that are out of place as unexpected characters. On this line 38, simply delete the bracket -> ]
There was a problem hiding this comment.
You also have an unexpected token on line 137
There was a problem hiding this comment.
Remove those and your console.logs will print
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.