wrapper_for_duble_but_not_form
return view('backend.content');
$('.some-class').on('click', (event) => {
$.proxy(this.clickEventHandler(event), this);
});
function makeArmy() {
var shooters = [];
for (var i = 0; i < 10; i++) {
var shooter = function (i) {
return function () {
alert(i)
}
}(i);
shooters.push(shooter);
};
return shooters;
}
var army = makeArmy();
army[0](); // 0
army[5](); // 5