function function prototype new

1
2
3
4
5
6
7
8
function A() {
}
function B() {
}
B.prototype = new A();