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