JS的对象方法如何调用?

举个例子,就像下面的通过表达式声明的对象函数lop,再通过prototype构造的方法left,如使用toClick函数调用left?
由于是在对象与方法的外部,故使用this.left无效,使用lop.left()提示lop不是函数。

var lop = function(){
    this.arr = [];
};
lop.prototype.left =function() {
    this.arr.pop;
}
var toClick = function(){
};

new

普通函数无法调用内部的变量,你需要将函数声明为构造函数之后才能调用里面的变量或方法

var lop = function(){
    this.arr = [];
};
lop.prototype.left =function() {
    this.arr.pop;
}

let Lop = new lop();
Lop.left()