Test
{"ScriptPreparationCode":"!function (b, c, d, e) {\r\n\r\n /*\r\n * init function (internal use)\r\n * a = selector, dom element or function\r\n */\r\n function i(a) {\r\n c.push.apply(this, a \u0026\u0026 a.nodeType ? [a] : \u0027\u0027 \u002B a === a ? b.querySelectorAll(a) : e)\r\n }\r\n\r\n /*\r\n * $ main function\r\n * a = css selector, dom object, or function\r\n * http://www.dustindiaz.com/smallest-domready-ever\r\n * returns instance or executes function on ready\r\n */\r\n $ = function (a) {\r\n return /^f/.test(typeof a) ? /c/.test(b.readyState) ? a() : $(b).on(\u0027DOMContentLoaded\u0027, a) : new i(a)\r\n }\r\n\r\n // set ki prototype\r\n $[d] = i[d] = $.fn = i.fn = {\r\n\r\n // default length\r\n length: 0,\r\n\r\n /*\r\n * on method\r\n * a = string event type i.e \u0027click\u0027\r\n * b = function\r\n * return this\r\n */\r\n on: function (a, b) {\r\n return this.each(function (c) {\r\n c.addEventListener(a, b)\r\n })\r\n },\r\n\r\n /*\r\n * off method\r\n * a = string event type i.e \u0027click\u0027\r\n * b = function\r\n * return this\r\n */\r\n off: function (a, b) {\r\n return this.each(function (c) {\r\n c.removeEventListener(a, b)\r\n })\r\n },\r\n\r\n /*\r\n * each method\r\n * use native forEach to iterate collection\r\n * a = the function to call on each iteration\r\n * b = the this value for that function\r\n */\r\n each: function (a, b) {\r\n c.forEach.call(this, a, b)\r\n return this\r\n },\r\n\r\n // for some reason is needed to get an array-like\r\n // representation instead of an object\r\n splice: c.splice\r\n }\r\n}(document, [], \u0027prototype\u0027);","TestCases":[{"Name":"getElementById","Code":"document.getElementById(\u0022test\u0022);","IsDeferred":false},{"Name":"querySelector","Code":"document.querySelector(\u0022#test\u0022)","IsDeferred":false},{"Name":"querySelectorAll","Code":"document.querySelectorAll(\u0022#test\u0022)","IsDeferred":false},{"Name":"salt.js $ routine","Code":"$(\u0027#test\u0027);","IsDeferred":false}]}