---
title: "Comment by Alifer de Medeiros Quevedo on \"Javascript Clean Code Tips & Good Practices\" | Hashnode"
description: "I really liked this article. I just got a point that in the section 08 the good example have a simple error. That code: const { add, subtract } = require ( &#x2"
url: "https://hashnode.com/posts/javascript-clean-code-tips-and-good-practices/612221e8a5d08237f40e1bca/comment/6123acefb115357df05f1ef1"
---

[Discussion](https://hashnode.com/posts/javascript-clean-code-tips-and-good-practices/612221e8a5d08237f40e1bca)

Comment [Javascript Clean Code Tips & Good Practices](https://hashnode.com/posts/javascript-clean-code-tips-and-good-practices/612221e8a5d08237f40e1bca)

[Alifer de Medeiros Quevedo](https://hashnode.com/@goufix)

[Aug 23, 2021](https://hashnode.com/posts/javascript-clean-code-tips-and-good-practices/612221e8a5d08237f40e1bca/comment/6123acefb115357df05f1ef1)

I really liked this article.

I just got a point that in the section 08 the good example have a simple error. That code:

```
const { add, subtract } = require('./calculations')

add(4,2);
calculate.subtract(4,2);
```

should be:

```
const { add, subtract } = require('./calculations')

add(4,2);
subtract(4,2);
```

[Apoorv Tyagi](https://hashnode.com/@apoorvtyagi)

[Aug 23, 2021](https://hashnode.com/posts/javascript-clean-code-tips-and-good-practices/612221e8a5d08237f40e1bca/comment/6123acefb115357df05f1ef1#reply-6123aec7663d427e19ff83bb)

Oh yeah, It was a mistake on my end. Thanks for letting me know :) 👍
