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
We can consider how to implement them from the following rules:
742
+
Consideramos implementar eles a partir das seguintes regras:
743
743
744
-
* If the first parameter isn’t passed, then the first parameter will default to `window`;
745
-
* Change what `this` refers to, which makes new object capable of executing the function. Then let’s think like this: add a function to a new object and then delete it after the execution.
744
+
* Se o primeiro parâmetro não foi passado, então o primeiro será o padrão `window`;
745
+
746
+
* Mude a referência do `this`, que faz um novo objeto capaz de executar a função. Então vamos pensar assim: adicione a função para um novo objeto e então delete ele depois da execução.
0 commit comments