• typo in initial_code/js_node

Question related to mission None

 

The following:

if (!global.is_checking) {
    console.log('Example:');
    console.log(escape([1000, 1000, 200], [0, 0, 100, 0]));

    // These "asserts" are used for self-checking and not for an auto-testing
    assert.equal(escape([1000, 1000, 200], [0, 0, 100, 0]), false);
                                                            ~
    assert.equal(escape([1000, 1000, 200], [450, 50, 0, -100]), true);
                                                                ~