Generalised RegEx for waypoint-make-it-functional fix https://github.com/FreeCodeCamp/freecodecamp/issues/1476 added comment to show where to block exploits in jsframework
This commit is contained in:
@@ -211,6 +211,7 @@ var runTests = function(err, data) {
|
||||
}];
|
||||
createTestDisplay();
|
||||
}
|
||||
//Add blocks to test exploits here!
|
||||
else if(editorValue.match(/if\s\(null\)\sconsole\.log\(1\);/gi)){
|
||||
allTestsPassed = false;
|
||||
userTests = [{
|
||||
|
Reference in New Issue
Block a user