原型和原型链
任何函数都可以作为构造函数。当该函数通过 new 关键字调用的时候,就称之为构造函数。
var Parent function(){}//定义一个函数,那它只是一个普通的函数,不能称它为构造函数var instance new Parent();
//这时这个Parent就不…
1. 数据准备
create database if not exists ds1;
create database if not exists ds3;ds1
/*Navicat Premium Data TransferSource Server : localhost_3306Source Server Type : MySQLSource Server Version : 80030Source Host : localhost:3306Sour…