The JavaScript source must evaluate to an object whose method calls are to be logged e.g. “({a1: function() {this.a2()},a2: function() {}});”
Ní mór don chód JavaScript an réad a ndéanfar logáil ar a chuid feidhmeanna a tháirgeadh; m.sh. “({a1: function() {this.a2()},a2: function() {}});”