javascript error stack trace to string code example Example: javascript dump strack trace console.trace();