UNPKG

bugger-v8-client

Version:
18 lines (13 loc) 330 B
(function wrapper() { var inScope = 'closedOver'; function clazz() { this.attr = 'v'; } clazz.prototype.fn = function _fn(arg) { console.log('before brk', this.attr, typeof clazz); debugger; console.log('after brk', arg, inScope, typeof clazz); }; var inst = new clazz(); inst.fn('param'); })();