Skip to content

Use optional method chaining for map values.#2

Open
aaditmshah wants to merge 2 commits into
kevinbgreene:mainfrom
aaditmshah:main
Open

Use optional method chaining for map values.#2
aaditmshah wants to merge 2 commits into
kevinbgreene:mainfrom
aaditmshah:main

Conversation

@aaditmshah

Copy link
Copy Markdown

Fixes #1.

When we .get a value from a Map, it could possibly be undefined. Hence, we need to use optional chaining when calling methods of values which we get from the map.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uncaught TypeError: (intermediate value) is not a function (...ClientImpl._push)

1 participant