From ed0efe59beef4c758db3fbe5196d7584a64ea025 Mon Sep 17 00:00:00 2001 From: Abhisek Pattnaik Date: Sat, 26 Dec 2015 09:55:36 +0530 Subject: [PATCH] Comparison with the Strict Equality Operator --- .../basic-javascript.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 239ff2a1be..cc3d9a553a 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -2326,8 +2326,9 @@ "description": [ "Strict equality (===) is the counterpart to the equality operator (==). Unlike the equality operator, strict equality tests both the type and value of the compared elements.", "Examples
3 === 3 // true
3 === '3' // false
", + "In the second example, 3 is a Number type and '3' is a String type.", "

Instructions

", - "Change the equality operator to a strict equality on the if statement so the function will return \"Equal\" when val is strictltly equal to 7" + "Use strict equality operator in if statement so the function will return \"Equal\" when val is strictly equal to 7" ], "releasedOn": "11/27/2015", "tests": [