transforms/__testfixtures__/manual-bind-to-arrow/manual-bind-to-arrow11.input.js (11 lines of code) (raw):

class Component extends React.Component { constructor() { super(); this.onClick = this.onClick.bind(this); } onClick() { if (fn) { fn.apply(this, Array.prototype.slice.call(arguments, 1)) } } }