var string = "abe123";
{"ScriptPreparationCode":"var string = \u0022abe123\u0022;","TestCases":[{"Name":"Regex","Code":"let isLastNameValid = false;\r\nconst THREE_DIGIT_REGEXP = /\\d{3,}/;\r\nisLastNameValid = THREE_DIGIT_REGEXP.test(string);","IsDeferred":false},{"Name":"Loop","Code":"let isLastNameValid = false;\r\nlet digits = 0;\r\nfor(let i = 0; i \u003C string.length; i\u002B\u002B) {\r\n !isNaN(string.charAt(i)) \u0026\u0026 digits\u002B\u002B;\r\n}\r\nisLastNameValid = digits \u003E= 3;","IsDeferred":false}]}