Skip to content

Update 03_Multiple Choice.prob.md #35

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ What will the code above print to the console?<<
( ) true {{Incorrect because the expression `a === b` evaluates to false.}}
( ) The code above will throw an error because you cannot compare strings and numbers. {{Incorrect because different data types can be compared using the `==` and `===` operator.}}
( ) The code above will throw an error because there is a syntax error. {{Incorrect because there are no syntax errors in the code segment above.}}
(x) The code above will throw an error because the operator `===` cannot be used between variables with different data types. {{Incorrect because the `===` operator can be used to compare variables with different data types.}}
( ) The code above will throw an error because the operator `===` cannot be used between variables with different data types. {{Incorrect because the `===` operator can be used to compare variables with different data types.}}

||The `==` operator compares the value while the `===` operator compares the value and data type.||
||The `==` operator compares the value while the `===` operator compares the value and data type.||