---
title: "Chau Giang (@chgiang) | Hashnode"
description: "Chau Giang (@chgiang) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@chgiang"
---

@chgiang

# Chau Giang

@chgiang · Joined February 2019

## Comments

[Reduce = Map + Filter + ... Can you please explain why someArray.length = 0 is better than just someArray= \[\] - it is sort simple and more readable? About the point it gets difficult to keep track we can use Proxy We can using Map or Object console.time has some caveats that why we have Performance API https://blog.bitsrc.io/using-the-performance-web-api-with-chrome-devtools-f4c59564b3d4](https://hashnode.com/posts/10-incredible-hacks-that-every-javascript-developer-should-know/60a61cad4e7f9549fc3304ba/comment/60a655214e7f9549fc330d9a)

Comment · Article · May 20, 2021 · [10 Incredible hacks that every JavaScript developer should know !!](https://hashnode.com/posts/10-incredible-hacks-that-every-javascript-developer-should-know/60a61cad4e7f9549fc3304ba)

[You can exit and save the file with ZZ, you can learn more about it here: https://vi.stackexchange.com/questions/5723/what-are-the-differences-between-wqcr-xcr-and-zz-when-exiting-vim](https://hashnode.com/posts/vim-commands-you-must-know/603dd325a035df05e2319588/comment/603e036285584105b64b0634)

Comment · Article · Mar 2, 2021 · [Vim Commands you must Know](https://hashnode.com/posts/vim-commands-you-must-know/603dd325a035df05e2319588)

[why you do not use just env command?](https://hashnode.com/posts/linux-commands-printenv/5f8c8bc889e922309e0122c5/comment/5f8d3f2583db9130bf5bcba9)

Comment · Article · Oct 19, 2020 · [Linux Commands: printenv](https://hashnode.com/posts/linux-commands-printenv/5f8c8bc889e922309e0122c5)
