• 简介
  • JavaScript
    • 深入理解事件循环(Event Loop)
    • 深入理解浮点数
    • 深入理解 prototype
    • axios 的坑
    • 【译】JavaScript 模块化的演变史
  • 前端工具链
    • Babel
      • bable-preset-env
    • webpack
      • 【译】使用 webpack 编译打包你的 typescript 库
    • nvm
    • homebrew
    • lerna
    • shelljs
  • 网络
    • 网络安全
    • 手把手教你如何将线上域名代理到本地
  • 算法
    • 冒泡排序
    • 选择排序
  • 设计模式
  • React
    • 源码分析
      • ReactElement
    • Virtual DOM
    • 手把手教你发布一个 React 组件
    • 【译】展示组件和容器组件
    • 【译】理解 React Hooks
    • 深入理解生命周期
  • Vue.js
    • 手把手教你实现一个 Vue.js 系列
      • 1. 模板语法以及响应式数据
      • 2. 模块化
  • Nginx
  • 客户端
    • 微信
    • Flutter
    • React Native
  • CSS
    • 【译】Outline 与 Border 属性的区别
  • HTML
    • 语义化标签
    • Unicode 坑
  • 浏览器
    • IE
  • 操作系统
    • Linux
      • 常用命令
    • MacOS
      • 手把手教你解决 Mac 上使用 QuickTime Player 录屏没有声音的问题
  • 正则表达式
  • VS Code
  • 其他
  • 面试题
  • Published with GitBook

深入理解 prototype

深入理解 prototype

JavaScript 中没有类的概念

参考

  • Javascript继承机制的设计思想
  • What is the difference between A.prototype = B.prototype and A.prototype = new B()?
  • js中的new()到底做了些什么?
  • Using “Object.create” instead of “new”

results matching ""

    No results matching ""