{"ScriptPreparationCode":"function getElement(a,b,c){var d;return void 0==b\u0026\u0026(d=document.getElementById(a)||document.querySelector(a)),null==d\u0026\u0026(0==b?(d=document.getElementsByClassName(a),0==d.length\u0026\u0026(d=document.getElementsByTagName(a)),0==d.length\u0026\u0026(d=document.querySelectorAll(a)),0==d.length\u0026\u0026(d=getElementsByClassName(a))):(c=null==c?0:c,d=document.getElementsByClassName(a)[c]||document.getElementsByTagName(a)[c]||document.querySelectorAll(a)[c]||getElementsByClassName(a)[c])),d}","TestCases":[{"Name":"vanilla","Code":"var el = getElementByID(\u0022testElement\u0022);\r\nvar className = el.className;","IsDeferred":false},{"Name":"jquery","Code":"var el = $(\u0022#testElement\u0022)[0];\r\nvar className = el.className;","IsDeferred":false},{"Name":"custom function","Code":"var el = getElement(\u0022testElement\u0022);\r\nvar className = el.className;","IsDeferred":false}]}