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);
~
Created at: 2019/11/28 09:30; Updated at: 2019/11/28 09:30
The question is resolved.