a
b
{"ScriptPreparationCode":"var select = function(selector) {\r\n\tif (!selector) return null\r\n\t\r\n\tif (selector.charAt(0) == \u0027#\u0027) {\r\n\t\treturn document.querySelector(selector)\r\n\t} else {\r\n\t\tvar result = document.querySelectorAll(selector)\r\n\t\tswitch (result.length) {\r\n\t\t\tcase 0:\r\n\t\t\t\treturn null\r\n\t\t\tcase 1:\r\n\t\t\t\treturn result[0]\r\n\t\t\tdefault:\r\n\t\t\t\treturn result\r\n\t\t}\r\n\t}\r\n}","TestCases":[{"Name":"qs ID","Code":"select(\u0027#test\u0027)","IsDeferred":false},{"Name":"qs Class","Code":"select(\u0027.m\u0027)","IsDeferred":false},{"Name":"sizzle ID","Code":"$(\u0027#test\u0027)","IsDeferred":false},{"Name":"sizzle Class","Code":"$(\u0027.m\u0027)","IsDeferred":false}]}