We have some code that does a monkey-patch of a library function (maybe a bad design, but there may be other better examples of a similar pattern). The structure of the code looks about like this:
// This is code in a library
class Printer {
value = 'b';
print() {
console.log(`value is ${this.value}`);
}