{"ScriptPreparationCode":"function aLoop(nodes, fn) {\r\n for (var i=0, len=nodes.length; i\u003Clen; i\u002B\u002B) {\r\n fn(nodes[i], i, nodes);\r\n }\r\n}\r\nvar nodes = document.querySelectorAll(\u0027div\u0027);\r\nvar arr1 = [1,2,3];\r\nvar classs;","TestCases":[{"Name":"Get-Set object prop in 2-each-times","Code":"aLoop(nodes, function(elm){\r\n aLoop(arr1, function(item){\r\n\tclasss = elm.className;\r\n elm.className = classs\u002B\u0027temp\u0027;\r\n });\r\n});","IsDeferred":false},{"Name":"Get-Set-trim in 1-each-time","Code":"aLoop(nodes, function(elm){\r\n classs = elm.className;\r\n\taLoop(arr1, function(item){\r\n\tclasss = classs\u002B\u0027temp\u0027;\r\n });\r\n elm.className = classs.trim();\r\n});","IsDeferred":false}]}