---
title: "Comment by Lépine Kong on \"Javascript Tips and Tricks\" | Hashnode"
description: "Good but beware mistypo in reduce example : {1, 2,3,4} instead of [1, 2,3,4]"
url: "https://hashnode.com/posts/javascript-tips-and-tricks/60843d02e1555b2a98aa9d0a/comment/60850586e1555b2a98aaa94c"
---

[Discussion](https://hashnode.com/posts/javascript-tips-and-tricks/60843d02e1555b2a98aa9d0a)

Comment [Javascript Tips and Tricks](https://hashnode.com/posts/javascript-tips-and-tricks/60843d02e1555b2a98aa9d0a)

[Lépine Kong](https://hashnode.com/@GrafcetOnline)

[Apr 25, 2021](https://hashnode.com/posts/javascript-tips-and-tricks/60843d02e1555b2a98aa9d0a/comment/60850586e1555b2a98aaa94c)

Good but beware mistypo in reduce example : {1, 2,3,4} instead of \[1, 2,3,4\]

[Jessica Carter](https://hashnode.com/@jesssica)

[Apr 25, 2021](https://hashnode.com/posts/javascript-tips-and-tricks/60843d02e1555b2a98aa9d0a/comment/60850586e1555b2a98aaa94c#reply-608524d970758d2ac1546a87)

Thanks, fixed it.
