{"ScriptPreparationCode":"var string = \u0022[12].Hello.world[2]\u0022;\r\nvar regex = /Hello/;","TestCases":[{"Name":"RegEx.test","Code":"function getNestedProperty(key = \u0022\u0022, object = {}) {\r\n return key\r\n .replace(/[\\[\\]\\.]\u002B/g, \u0027 \u0027)\r\n .trim()\r\n .split(\u0027 \u0027)\r\n ?.reduce((acc, v) =\u003E acc?.[v], object);\r\n}\r\ngetNestedProperty(string, {a: {b: 2}})","IsDeferred":false},{"Name":"String.includes","Code":"function getNestedProperty(key = \u0022\u0022, object = {}) {\r\n return key\r\n .match(/[\u3131-\uD7A3a-zA-Z0-9]\u002B/g)\r\n ?.reduce((acc, v) =\u003E acc?.[v], object);\r\n}\r\ngetNestedProperty(string, {a: {b: 2}})","IsDeferred":false}]}