mixin replace jQuery.extend with Object.assign

UNCONFIRMED
Unassigned

Status

Developer Documentation
JavaScript
P5
normal
UNCONFIRMED
a year ago
a year ago

People

(Reporter: 34696643, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

a year ago
:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

原文如下:
mixin函数会把超类原型上的函数拷贝到子类原型上,这里mixin函数没有给出,需要由你实现。一个和 mixin 很像的函数是  jQuery.extend。
You need to log in before you can comment on or make changes to this bug.