loc
test
test2
test3
{"ScriptPreparationCode":"function getMoveList(){\r\n\tlet list = document.querySelector(\u0027[data-role=\u0022list\u0022]\u0027);\r\n\tlet area = [...list.querySelectorAll(\u0027.area[title]\u0027)];\r\n\tlet house = [...list.querySelectorAll(\u0027.house[title]\u0027)];\r\n\tlet npc = [...list.querySelectorAll(\u0027.npc[title]\u0027)];\r\n\treturn {area, house, npc, all: [...area, ...house, ...npc]};\r\n}","TestCases":[{"Name":"t2","Code":"function getRoute(name){\r\n\treturn getMoveList().area.find(el =\u003E el.innerText.includes(name));\r\n}\r\nfor(var i=0;i\u003C100;i\u002B\u002B){\r\n\tlet res = getRoute(\u0027test2\u0027);\r\n\tconsole.log(res);\r\n}\r\n","IsDeferred":false},{"Name":"t1","Code":"var Routes = null;\r\nRoutes = getMoveList().area;\r\nfunction getRoute(name){\r\n\tif (Routes == null) return console.log(\u0027Routes == null\u0027);\r\n\treturn Routes.find(el =\u003E el.innerText.includes(name));\r\n}\r\nfor(var i=0;i\u003C100;i\u002B\u002B){\r\n\tlet res = getRoute(\u0027test2\u0027);\r\n\tconsole.log(res);\r\n}\r\n","IsDeferred":false}]}