R
Size: a a a
R
j
К
К
К
К
class (в toString)К
j
К
К
class A {
constructor() {
console.log(this.b)
}
}
Reflect.setPrototypeOf(A.prototype, {b: 10});
new A() => '10'j
К
К
function callConstructorLate(obj, ctor, ...args) {
class Target extends ctor {};
Reflect.setPrototypeOf(obj, ctor.prototype);
Reflect.setPrototypeOf(Target.prototype, obj);
return Reflect.construct(Target, args, ctor);
}DD
$('#customer_register').on('click',function(){
$('#simplecheckout_login .simplecheckout-block-content ').css({'display': 'none'});
$('#simplecheckout_customer .simplecheckout-block-content>fieldset:nth-child(2 ').css({'display': 'block'});
});S
$('#customer_register').on('click',function(){
$('#simplecheckout_login .simplecheckout-block-content ').css({'display': 'none'});
$('#simplecheckout_customer .simplecheckout-block-content>fieldset:nth-child(2 ').css({'display': 'block'});
});
EP
$('#customer_register').on('click',function(){
$('#simplecheckout_login .simplecheckout-block-content ').css({'display': 'none'});
$('#simplecheckout_customer .simplecheckout-block-content>fieldset:nth-child(2 ').css({'display': 'block'});
});j
j
DD