* Fix #4840: Alias class prototype for methods in loose mode * Cleanup
This commit is contained in:
committed by
Justin Ridgewell
parent
d8b4073536
commit
960151c876
@@ -5,7 +5,9 @@ let A = function A() {
|
||||
let B = function () {
|
||||
function B() {}
|
||||
|
||||
B.prototype.b = function b() {
|
||||
var _proto = B.prototype;
|
||||
|
||||
_proto.b = function b() {
|
||||
console.log('b');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user