Delphi Array Length Javascript Codecademy