心之所向,无惧无悔,愿求仁得仁,复无怨怼!
将A对象属性给B就是mixin
const mixin = function(a,b){
阅读更多 >>
class Promises2 { #status = 'pending' constructor(fn) { this.q = []//创建一个队列 const resolve = (data) => {
冒泡排序
test.ts
export interface Person {
type Name = String type FasleLike = '' | 0 | false | null | undefined
<template> <div id="app">
mkdir webpack-demo cd webpack-demo
function identity<T>(arg:T):T{ return arg