{"ScriptPreparationCode":"var e = new Eev();\r\nvar c = 0;\r\n\r\ne.on(\u0027go\u0027, function (d) {\r\n \u002B\u002Bc;\r\n});\r\n\r\ne.on(\u0027go\u0027, function (d) {\r\n \u002B\u002Bc;\r\n});\r\n\r\nvar e$ = $({});\r\nvar c = 0;\r\n\r\ne$.on(\u0027go\u0027, function (d) {\r\n \u002B\u002Bc;\r\n});\r\n\r\ne$.on(\u0027go\u0027, function (d) {\r\n \u002B\u002Bc;\r\n});\r\n\r\nvar c = 0;\r\n\r\ndocument.addEventListener(\u0027go\u0027, function(d) {\r\n \u002B\u002Bc;\r\n});\r\n\r\ndocument.addEventListener(\u0027go\u0027, function(d) {\r\n \u002B\u002Bc;\r\n});\r\n\r\nvar emitter = window.mitt();\r\n var c = 0;\r\n// listen to an event\r\nemitter.on(\u0027foo\u0027, function(d){\r\n\u002B\u002Bc;\r\n} );\r\n \r\nemitter.on(\u0027foo\u0027, function(d){\r\n\u002B\u002Bc;\r\n} );\r\n\r\nvar EE = new EventEmitter3()\r\n , context = { foo: \u0027bar\u0027 };\r\n\r\nfunction emitted() {\r\n \u002B\u002Bc;\r\n}\r\n\r\nEE.on(\u0027another-event\u0027, emitted, context);","TestCases":[{"Name":"EEV","Code":"\r\ne.emit(\u0027go\u0027, \u0027hi\u0027);","IsDeferred":false},{"Name":"JQuery","Code":"\r\ne$.trigger(\u0027go\u0027, \u0027hi\u0027);","IsDeferred":false},{"Name":"Dom","Code":"\r\ndocument.dispatchEvent(new CustomEvent(\u0027go\u0027, { detail:\u0027hi\u0027 }));","IsDeferred":false},{"Name":"Mitt","Code":"\r\nemitter.emit(\u0027foo\u0027, { \u0027hello\u0027:\u0027\u0027 });","IsDeferred":false},{"Name":"EventEmitter3","Code":"EE.emit(\u0027another-event\u0027, { \u0027hello\u0027:\u0027\u0027 });","IsDeferred":false}]}