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

@masoudmsk

# Masoud Salehi

@masoudmsk · Joined May 2022

## Comments

[Cooooool! But in the last code snippet: You're printing array keys. Must use for of instead of for in. And the python version doesn't include stop in the output of range(stop). 😜](https://hashnode.com/posts/proxy-cool-array-methods/626e5e05d02237eb3fc7c0cb/comment/626faf4777f8e2f7fe9348a7)

Comment · Article · May 2, 2022 · [Proxy cool array methods](https://hashnode.com/posts/proxy-cool-array-methods/626e5e05d02237eb3fc7c0cb)

[About the last part of this article, I'm pretty sure that no one can use this package without installing react, thus it's not "optional" and must not be marked as so. For example, you could do that if your package would work with both react and preact. In this case neither of them are necessary and the developer might have installed only one of them and shouldn't see any warning.](https://hashnode.com/posts/use-packagejson-wisely/626d6aaba2d355d4df43f1ae/comment/626faba3fa2b07f7d96a7fd2)

Comment · Article · May 2, 2022 · [Use package.json wisely](https://hashnode.com/posts/use-packagejson-wisely/626d6aaba2d355d4df43f1ae)
