Getting Length Of Array Javascript Documentation Generator