get stack(): string

A global getter that returns the current stack.

It is the equivalent of doing new Error().stack.