replaced comparison with strict equality operator

This commit is contained in:
Junaid Ahmed 2016-06-09 16:26:39 +05:30
parent 9d19c8dd25
commit aa8750e140

View File

@ -1693,7 +1693,7 @@
"var myArray = [1,2,3];\nvar myData = myArray[0];"
],
"tests": [
"assert((function(){if(typeof myArray != 'undefined' && typeof myData != 'undefined' && myArray[0] == myData){return true;}else{return false;}})(), 'message: The variable <code>myData</code> should equal the first value of <code>myArray</code>.');"
"assert((function(){if(typeof myArray != 'undefined' && typeof myData != 'undefined' && myArray[0] === myData){return true;}else{return false;}})(), 'message: The variable <code>myData</code> should equal the first value of <code>myArray</code>.');"
],
"type": "waypoint",
"challengeType": 1,