lonphy
Results
1
comments of
lonphy
function solution(b){ b += ''; var i=10,m; while(i-- > 0) { m = b.match(new RegExp(i+"\d{4}", "g")); if (m){ return Math.max.apply(null,m); } } return 0; }