2018年5月面试题 发表于 2018-06-09 去哪儿网1.两栏布局实现2.居中实现3.清除浮动实现 4.redux 和 vux 区别5.redux 如何在 action 中取到 state6.123456789101112131415161718var Test = { foo: "test", func: function() { var self = this; console.log(this.foo); console.log(self.foo); (function() { console.log(this.foo); console.log(self.foo); })(); }};Test.func();// test// test// undefined// test tap4fun7.语义化标签8.兼容性跳转9.form 格式10.伪类和伪元素11.定位属性12.居中13.自适应和响应式14.hash 路由和 history api15.跨域16.HTML attribute 和 DOM property17.事件委托18.this19.闭包20.原型继承21.es6 继承和原型继承区别22.异步串行23.web 组件24.双向绑定原理25.package.json 中字段26.commonjs,amd,es6 module 区别蚂蚁金服27.原型继承28.手写 bind29.react 中 instance 和 element 的区别