Async Class Method Javascript Array Length