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
Because there are restrictions on the low-level of JS, if the instance isn’t constructed by `Date`, it can’t call functions in `Date`, which also explains from another aspect that `Class`inheritance in ES6 is different from the general inheritance in ES5 syntax.
489
+
Porque existem restrições no baixo nível do JS, se a instância não for construida pelo `Date`, ele não pode chamar funções no `Date`, que também explica a partir de outro aspecto que herança de `Class`no ES6 é diferente das heranças gerais na sintaxe do ES5.
492
490
493
-
Since the low-level of JS limits that the instance must be constructed by `Date` , we can try another way to implement inheritance:
491
+
Uma vez o baixo nível dos limites do JS que a instância deve ser construido pelo `Date`, nós podemos tentar outra maneira de implementar herança:
0 commit comments