Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
tick.stack = addr.map((n, i) => data.code[n]).filter(Boolean)
tick.stack = tick.stack.filter(({type}) => type === 'JS')