Delphi Array Length Javascript Method Example