{"ScriptPreparationCode":"var myList = [\r\n \u0022aglio_e_olio\u0022,\r\n \u0022breakfast_with_crushed_avocado_and_fried_eggs\u0022,\r\n \u0022chicken_rice\u0022, \u0022classic_smash_burger\u0022,\r\n \u0022french_omelette\u0022,\r\n \u0022french_toast\u0022,\r\n \u0022philly_cheesesteak\u0022,\r\n \u0022shrimp_fried_rice\u0022,\r\n \u0022spaghetti_in_tomato_sauce\u0022\r\n];\r\n","TestCases":[{"Name":"while and replace","Code":"for (let i of myList) {\r\n let temp = i;\r\n while (temp.indexOf(\u0022_\u0022) != -1) {\r\n\ttemp = temp.replace(\u0022_\u0022, \u0022 \u0022);\r\n }\r\n}","IsDeferred":false},{"Name":"split and join","Code":"for (let i of myList) {\r\n let temp = i.split(\u0022_\u0022).join(\u0022 \u0022).toUpperCase();\r\n}","IsDeferred":false}]}