JavaScript Array reduce() - Apply Reduce Function | Vultr Docs