/js/src/jit-test/tests/jaeger/recompile/bug658777.js
http://github.com/zpao/v8monkey · JavaScript · 11 lines · 11 code · 0 blank · 0 comment · 1 complexity · e3d448db26ebd7d30aa0146b0b3366c8 MD5 · raw file
- function Employee(name, dept) this.name = name || "";
- function WorkerBee(name, dept, projs) {
- this.base = Employee
- this.base(name, dept)
- }
- function Engineer(name, projs, machine) {
- this.base = WorkerBee
- this.base(name, "engineering", projs)
- __proto__["a" + constructor] = 1
- }
- new Engineer;