-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add answers to README.md #186
base: master
Are you sure you want to change the base?
Conversation
400 > 200 | ||
// true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the type of this expression?
|
||
1 !== 1 | ||
?? False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- what is the type of this expression?
// true | ||
|
||
true && false | ||
|
||
// false | ||
20 % 6 | ||
// 2 | ||
|
||
"a" + "b" | ||
|
||
// "ab" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the types of these expressions?
Number expression.
…On Fri, Dec 11, 2020 at 12:03 PM Mike Boyle ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In README.md
<#186 (comment)>
:
> 400 > 200
+// true
What is the type of this expression?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#186 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR5JN7BPKGI5SSBOIREJTKLSUJGEPANCNFSM4UVTF4DA>
.
|
Boolean expression.
…On Fri, Dec 11, 2020 at 12:03 PM Mike Boyle ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In README.md
<#186 (comment)>
:
> +// true
true && false
-
+// false
20 % 6
+// 2
"a" + "b"
-
+// "ab"
What are the types of these expressions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#186 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR5JN7FN6UKIPQACKXHVGADSUJGHLANCNFSM4UVTF4DA>
.
|
Good afternoon Mike
Thank you for pointing these out. I will go back into the assignment to do
the corrections. I just am moving very very slowly today, and will take a
while. But, please know I am working on this in the moment and will
continue until it is done. I am just focusing on maintaining the
bandwidth to focus.
I am attempting to complete the variables lab, which is outstanding. After
that is complete I will work on the rest.
Looking forward - Tina J.
Thank you for the c
…On Fri, Dec 11, 2020 at 12:03 PM Mike Boyle ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In README.md
<#186 (comment)>
:
> +// true
true && false
-
+// false
20 % 6
+// 2
"a" + "b"
-
+// "ab"
What are the types of these expressions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#186 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR5JN7FN6UKIPQACKXHVGADSUJGHLANCNFSM4UVTF4DA>
.
|
@@ -74,13 +78,15 @@ What will the following return? | |||
|
|||
```js | |||
typeof 4 | |||
// undefined // 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this return "undefined"
or does it return 4
?
|
||
2 === 1 || 3 === 4 | ||
|
||
// 'false' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this return false
(boolean type) or "false"
(in quotes, string type)? There is a difference between the two.
## Problem Eight | ||
|
||
Write a step-by-step evaluation for the following expression: `'ca' + 'ter' + 'pi' + 'llar'`. | ||
|
||
// caterpillar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you break this down into smaller steps?
## Problem Nine | ||
|
||
Write a step-by-step evaluation for the following expression: `2 * 4 === 8 && 'car' + 'pool' === 'carpool'`. | ||
|
||
// true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are the steps?
## Problem Ten | ||
|
||
Write a step-by-step evaluation for the following expression: `'1' + '2' + '3' - '1'`. | ||
// 122 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are the steps?
Continuing to work on this.