---
title: "Comment by Chety on \"Introduction to Functional Programming\" | Hashnode"
description: "In Mutation Bad section assignment operation must be done with index 1. Nice work by the way. const code= [ &quot;Javascript&quot;, &quot;Python&quot;, &quot;Re"
url: "https://hashnode.com/posts/introduction-to-functional-programming/603563b4bc9bf67747fdcc75/comment/60365b140c99f77f2f8a5b8f"
---

[Discussion](https://hashnode.com/posts/introduction-to-functional-programming/603563b4bc9bf67747fdcc75)

Comment [Introduction to Functional Programming](https://hashnode.com/posts/introduction-to-functional-programming/603563b4bc9bf67747fdcc75)

[Chety](https://hashnode.com/@MereMala)

[Feb 24, 2021](https://hashnode.com/posts/introduction-to-functional-programming/603563b4bc9bf67747fdcc75/comment/60365b140c99f77f2f8a5b8f)

In Mutation Bad section assignment operation must be done with index 1. Nice work by the way. const code= \[ "Javascript", "Python", "React" \] code\[ 1 \] = "Node"

[Sayuri Kamble](https://hashnode.com/@sayurikamble)

[Feb 24, 2021](https://hashnode.com/posts/introduction-to-functional-programming/603563b4bc9bf67747fdcc75/comment/60365b140c99f77f2f8a5b8f#reply-60365dfa0c99f77f2f8a5be6)

Fixed it ! Nice Observation.

Thank You.
