Golang Array Length Javascript Method List