summaryrefslogtreecommitdiff
path: root/test/fixtures/repl-pretty-stack.js
blob: 26e72beecaefdd0e351da95cb389db2c96fd2fb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
'use strict';

function a() {
  b();
}

function b() {
  c();
}

function c() {
  d(function() { throw new Error('Whoops!'); });
}

function d(f) {
  f();
}

a();