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\n let digits = 0;\r\n for(let i = 0; i \u003C string.length; i\u002B\u002B) {\r\n \t!isNaN(string.charAt(i)) \u0026\u0026 digits\u002B\u002B;\r\n }\r\n digits \u003E= 3 ? isLastNameValid = true : isLastNameValid = false;","IsDeferred":false}]}