javascript get current stack trace code example Example: javascript dump strack trace console.trace();