test2

2020-08-09  本文已影响0人  roger1253

webpack的配置及基本运行原理 能分清loader和plugins区别

事件循环

事件模型 捕获冒泡 事件代理

跨域处理 cors

原型链 继承的几种方式 静态方法和实例方法

    function Parent(foo) {
      this.foo = foo
    }
    Parent.prototype.test1 = function () {
      return `test1`
    }
    function Child(bar) {
      Parent.call(this, bar)
      this.bar = bar
    }
    Child.prototype = Object.create(Parent.prototype)
    Child.prototype.constructor = Child
    Child.prototype.test2 = function () {
      return `test2`
    }
    const child = new Child(1)
    console.log(
      child.foo,// 1
      child.bar,// 1
      child.test1(),// test1
      child.test2(),// test2
    )
    class Parent {
      test() {
        return 'test'
      }
    }
    class Child extends Parent { }
    const child = new Child()
    console.log(child.test())// test

vue 的基本原理,响应式说一下大概过程

通信

生命周期

router也看一下

flex布局常用属性

rem及计算

上一篇 下一篇

猜你喜欢

热点阅读