There is a way to suppress output. Using "var x = ...; " allows you to hide the output of expressions. But there are other teams that are difficult to suppress, for example,
Array.prototype.distinct = function() { return []; }
This creates a print of a new specific function. To suppress it , you will need to write it as follows:
var suppressOutput = ( Array.prototype.distinct = function() { return []; } );
source share