From efc99f22de467eec75aa05e51b73939604f5d89c Mon Sep 17 00:00:00 2001 From: Avy <6934329+yoursavy@users.noreply.github.com> Date: Mon, 30 Mar 2020 17:55:58 -0700 Subject: [PATCH] Update 03_Multiple Choice.prob.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Comparison Operators – Multiple Choice Questions. Please remove 'x' from ( ) from lince 15 so the correct answer can be accepted. --- .../04_Comparison Operators/03_Multiple Choice.prob.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03_Operators and Expressions/00_Operators/04_Comparison Operators/03_Multiple Choice.prob.md b/03_Operators and Expressions/00_Operators/04_Comparison Operators/03_Multiple Choice.prob.md index 166a310..d65f484 100755 --- a/03_Operators and Expressions/00_Operators/04_Comparison Operators/03_Multiple Choice.prob.md +++ b/03_Operators and Expressions/00_Operators/04_Comparison Operators/03_Multiple Choice.prob.md @@ -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.|| \ No newline at end of file +||The `==` operator compares the value while the `===` operator compares the value and data type.||