---
title: "Discussion on \"How I fixed a bug using javascript `call` method\" | Hashnode"
description: "Discussion on \"How I fixed a bug using javascript `call` method\". Last week we discovered a bug in my workplace project. The error was similar to below\nCannot read properties of null (reading 'map')\n\nWhich is very simple to understand that somewhere in code we are calling map over a variable which is null .\nI was l..."
url: "https://hashnode.com/posts/how-i-fixed-a-bug-using-javascript-call-method/616b14a4441bd36daa955bc0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I fixed a bug using javascript \`call\` method](https://blog.iammanishkumarr.dev/how-i-fixed-a-bug-using-javascript-call-method?utm_source=hashnode&utm_medium=feed)

Last week we discovered a bug in my workplace project. The error was similar to below Cannot read properties of null (reading 'map') Which is very simple to understand that somewhere in code we are calling map over a variable which is null . I was l...

Oct 16, 2021 · 3 min read · blog.iammanishkumarr.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#basics](https://hashnode.com/tag/basics)
-   [#bugs-and-errors](https://hashnode.com/tag/bugs-and-errors)

## Written by

[Manish Kumar](https://hashnode.com/@manishkumarr)

@manishkumarr

  
[View profile](https://hashnode.com/@manishkumarr)

Web developer, Blogger

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
