If the result of some javascript calculation is an array of 10,000 elements, the Node.js repl prints this out. How do I prevent it from doing so?
Thanks
Why don't you just append ; null; to your expression?
; null;
As in
new Array(10000); null;
which prints
null
or even shorter, use ;0;
;0;
2.1m questions
2.1m answers
60 comments
56.9k users