From 96cc7ccd2ac509a7a02e137b95967d8ecc4625c8 Mon Sep 17 00:00:00 2001 From: MANISH-GIRI Date: Sun, 27 Nov 2016 19:30:07 -0500 Subject: [PATCH] Fix: Add MDN Strict Inequality Link --- seed/bonfireMDNlinks.js | 1 + .../basic-javascript.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/seed/bonfireMDNlinks.js b/seed/bonfireMDNlinks.js index 80855ef62e..ea496375ab 100644 --- a/seed/bonfireMDNlinks.js +++ b/seed/bonfireMDNlinks.js @@ -92,6 +92,7 @@ var links = { // ======== GENERAL JAVASCRIPT REFERENCES "Arithmetic Operators": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators", "Comparison Operators": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators", + "Strict Inequality Operator": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Comparison_Operators#Non-identity_strict_inequality_(!)", "Details of the Object Model": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Details_of_the_Object_Model", "For Loops": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for", "Truthy": "https://developer.mozilla.org/en-US/docs/Glossary/Truthy", diff --git a/seed/challenges/01-front-end-development-certification/basic-javascript.json b/seed/challenges/01-front-end-development-certification/basic-javascript.json index 93945a99d8..c6f435e68c 100644 --- a/seed/challenges/01-front-end-development-certification/basic-javascript.json +++ b/seed/challenges/01-front-end-development-certification/basic-javascript.json @@ -3077,7 +3077,7 @@ "id": "56533eb9ac21ba0edf2244d3", "title": "Comparison with the Strict Inequality Operator", "description": [ - "The strict inequality operator (!==) is the opposite of the strict equality operator. It means \"Strictly Not Equal\" and returns false where strict equality would return true and vice versa. Strict inequality will not convert data types.", + "The strict inequality operator (!==) is the logical opposite of the strict equality operator. It means \"Strictly Not Equal\" and returns false where strict equality would return true and vice versa. Strict inequality will not convert data types.", "Examples", "
3 !== 3 // false
3 !== '3' // true
4 !== 3 // true
", "

Instructions

", @@ -3104,6 +3104,9 @@ "solutions": [ "function testStrictNotEqual(val) {\n if (val !== 17) {\n return \"Not Equal\";\n }\n return \"Equal\";\n}" ], + "MDNlinks": [ + "Strict Inequality Operator" + ], "tests": [ "assert(testStrictNotEqual(17) === \"Equal\", 'message: testStrictNotEqual(17) should return \"Equal\"');", "assert(testStrictNotEqual(\"17\") === \"Not Equal\", 'message: testStrictNotEqual(\"17\") should return \"Not Equal\"');",