GolderBrother
Results
52
comments of
GolderBrother
```js ~(async () => { class HttpRequestUtil { async get(url) { const res = await fetch(url); const data = await res.json(); return data; } async post(url, data) { const res...
```js // 一: ES5版本 function A(name) { this.name = name; } A.prototype.getName = function () { console.log(this.name); }; function B(name, age){ A.call(this, name); this.age = age; } B.prototype = Object.create(A.prototype);...