---
title: "Comment by Tiffany Spark on \"The Safe Assignment Operator (?=) in JavaScript — No More try-catch\" | Hashnode"
description: "the nested try-catch pyramid of doom is so real — i've seen files where the actual logic is buried under four levels of error handling and it becomes completely"
url: "https://hashnode.com/posts/javascript-safe-assignment-operator/6994bef2ba9dcc61b36fc3b9/comment/6994e26e8fa83f882e19fd14"
---

[Discussion](https://hashnode.com/posts/javascript-safe-assignment-operator/6994bef2ba9dcc61b36fc3b9)

Comment [The Safe Assignment Operator (?=) in JavaScript — No More try-catch](https://hashnode.com/posts/javascript-safe-assignment-operator/6994bef2ba9dcc61b36fc3b9)

[Tiffany Spark](https://hashnode.com/@markupandmatcha)

[Feb 17](https://hashnode.com/posts/javascript-safe-assignment-operator/6994bef2ba9dcc61b36fc3b9/comment/6994e26e8fa83f882e19fd14)

the nested try-catch pyramid of doom is so real — i've seen files where the actual logic is buried under four levels of error handling and it becomes completely unreadable. this proposal looks genuinely useful, love that it follows the go-style \[error, value\] pattern. bookmarking to keep an eye on the TC39 progress, hopefully it ships without too many caveats
