# Please correct mentioned doc of Zoom Apps JSSDK

**URL:** <https://devforum.zoom.us/t/please-correct-mentioned-doc-of-zoom-apps-jssdk/84926>\
**Category:** Zoom Apps\
**Created:** [March 19, 2023, 9:29am UTC](https://devforum.zoom.us/t/please-correct-mentioned-doc-of-zoom-apps-jssdk/84926 "2023-03-19T09:29:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [March 19, 2023, 9:29am UTC](https://devforum.zoom.us/t/please-correct-mentioned-doc-of-zoom-apps-jssdk/84926/1 "2023-03-19T09:29:26Z")

</div>

Please correct below code sample in Zoom Apps JSSDK doc

```auto
zoomSdk.removeVirtualBackground().then(function() => {
  // background was successfully removed
})
.catch(function(error) => {
  // there was an error removing the virtual background
})

```

In the above code block either use the _ **function** _ keyword or _ **arrow operator** _ inside callbacks like below

**Callbacks with the function keyword**

```auto
zoomSdk.removeVirtualBackground().then(function() {
  // background was successfully removed
})
.catch(function(error) {
  // there was an error removing the virtual background
})

```

**Callbacks with arrow operator**

```auto
zoomSdk.removeVirtualBackground().then(() => {
  // background was successfully removed
})
.catch((error) => {
  // there was an error removing the virtual background
})

```

Here is the doc [link](https://marketplace.zoom.us/docs/zoom-apps/js-sdk/reference/#removeVirtualBackground).

 ![Screenshot 2023-03-19 at 2.23.32 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/e/1e00a67f8f1fdbaef1a4276f30c384e4b1c44206.png)

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [March 20, 2023, 10:11pm UTC](https://devforum.zoom.us/t/please-correct-mentioned-doc-of-zoom-apps-jssdk/84926/2 "2023-03-20T22:11:07Z")

</div>

Thanks for bringing this up! I created a ticket with our documentation team to have this fixed (DEVELOPERS-3809)
