The max length of console.log output is 8275
- Version: 7.1.0
- Platform: Windows 10 1607 (Redstone) 14393.447 x64
- Subsystem: console
Using the following codes, the second console.log will be failed without any error message and the program exits; but it worked on 7.0.0.
"use strict"; // length = 8275, Array(8276) is max. var testString = Array(8277).join('a'); console.log('length = ' + testString.length); console.log(testString);
Reduce the array size to 8276, the program works as expected.