JavaScript Best Practices — Functions and Mutations

John Au-Yeung
Level Up Coding
Published in
4 min readJun 23, 2020

--

Photo by Ashim D’Silva on Unsplash

Like any kind of apps, JavaScript apps also have to be written well. Otherwise, we run into all kinds of issues later on.

In this article, we’ll look at some best practices for working with arrow functions. Also, we look at why and how to avoid mutations.

Don’t Use Getters and Setters

--

--