created by Joan - #4
Open
joanhdez89 wants to merge 20 commits into
Open
Conversation
|
|
||
| // Q: In the code above, what is the value of `thud`? | ||
| // A: | ||
| // A: 5 |
Owner
There was a problem hiding this comment.
Almost. thud is 5 on line 31, but on line 32, thud is assigned to 1.
|
|
||
| // Q: In the code above, what is the value of `dinosaur`? | ||
| // A: | ||
| // A: -200 |
Owner
There was a problem hiding this comment.
Close again, but -200 is the initial value of dinosaur. It is assigned to 8 on line 41 and then to 999999 on line 42, so the actual final answer is 999999.
| // A: -200 | ||
| // Q: In the code above, all of the variables above are "number" type. What do you think are the possible values of the number type? | ||
| // A: | ||
| // A: any kind of values |
Owner
There was a problem hiding this comment.
Only numbers are possible values of the number type. Numbers can be whole integers (1,2,5, 10) or numbers with decimals (4.5, 0.004, 21.99999) and negative numbers (-1, -2, -5, -10).
|
|
||
| // Q: In the code above, what is the value of `c`? | ||
| // A: | ||
| // A: the variable c is not define |
Owner
There was a problem hiding this comment.
Exactly! In Javascript, this shows up as the value undefined.
| @@ -0,0 +1,3 @@ | |||
| typingSpeed: 37 wpm | |||
| brainLoadLevel: 6 | |||
| brainLoadURL: https://brentonstrine.github.io/brainload/?hash=96d6Jc6 | |||
| 6 years of hard studying, without no strength to keep fighting I had to complete a final project | ||
| for my graduation. Those 6 months were really stressful for me, running against the time and perfection. | ||
|
|
||
| And this is my developer story. |
brentonstrine
approved these changes
Jun 28, 2017
brentonstrine
left a comment
Owner
There was a problem hiding this comment.
Great job! I will merge this in class today.
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.
I think I can type whatever I want here.
<html></html>