can we pass parameters like json objects,json,strings, integers among helper methods in lightning components?
I am trying to pass
(
Helper1:function(){
Var Parameter1s = jsonobject;
Parameter1s.forEach(function(a, i){
this.Helper2(a.fieldname[0]);
});
},
Helper2:function(parameter1){
Alert('helper2');},
);
Error: uncaught Action failed : "xxxx$controller$helper1[ cannot read property 'Helper2' of undefined]