I have an arrow function that I am trying to execute with call(). For the sake of simplification, as follows: Operational as expected const func = (e) => { console.log(e) }
Solution 1:
this is not bound in arrow functions, so call() and apply() can only pass in parameters. this is ignored
Post a Comment for "Passing This From .call() To Arrow Function"