2.9.3.1 stack

The initial value of stack is undefined. This property has the attributes { [[Enumerable]]:true, [[Configurable]]:true, [[Writable]]:true }. When an error is thrown the stack property is set to contain a string value which describes the stack frames formatted as described below.

 "<Error Type>: <Error Description> 
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)
    at FunctionName (<Fully qualified file/URL>:<line#>:<col#>)"

The number of stack frames shown is controlled by the stackTraceLimit property defined on the Error constructor.