Adding a property to one function, but not all functions, causes Not optimized flag on function containing Function.prototype.apply
.
"V8 only recognizes monomorphic .apply call-sites" - @mraleph
See example.js
fix.js
)node --trace_opt --trace_deopt example.js | grep "failed to optimize dispatch"
jspm install
http-server # open http://localhost:8080/