Before ES6 introduced classes class-oriented programming was often implemented in ES (whether by developers or transpilers) by using prototypes directly, for example:
functionPerson(name){this.name=name;}Person.prototype.sayHello=function(){console.log("Hello, my name is "+this.name);}newPerson("Joe").sayHello();This pattern is not currently instrumented by appmap-node, but can often be present in legacy code. Instrumenting this pattern will make appmap-node more useful in this scenario.
Before ES6 introduced classes class-oriented programming was often implemented in ES (whether by developers or transpilers) by using prototypes directly, for example:
This pattern is not currently instrumented by appmap-node, but can often be present in legacy code. Instrumenting this pattern will make appmap-node more useful in this scenario.