{"ScriptPreparationCode":"function getAll(elem, selector) {\r\n let nodeList;\r\n\r\n if (selector === undefined) {\r\n selector = elem;\r\n nodeList = document.querySelectorAll(selector);\r\n } else {\r\n nodeList = (elem).querySelectorAll(selector);\r\n }\r\n\r\n return Array.from(nodeList);\r\n}","TestCases":[{"Name":"asd","Code":"getAll(\u0027div:not(.x)\u0027)\r\n .forEach(line =\u003E line.parentNode.removeChild(line));\r\ngetAll(\u0027.x\u0027)\r\n .forEach(line =\u003E line.classList.remove(\u0027x\u0027));","IsDeferred":false},{"Name":"basd","Code":"getAll(\u0027div:not(.x)\u0027)\r\n .forEach(line =\u003E {\r\n\tif (line.classList.contains(\u0027x\u0027)) line.classList.remove(\u0027x\u0027);\r\n else line.parentNode.removeChild(line);\r\n });","IsDeferred":false}]}