You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how common such cases are, as one can often just use .call() instead of .apply() and one might not even need the second argument.
However, the mere possibility of these cases would render the arg-spread transform unsafe. The arguments case we can mostly account for, but the NodeList case is not really possible to detect.
Usually "apply" is used as a spread operator, here's an example
convert this
into
The text was updated successfully, but these errors were encountered: