AdobeDocs / AdobeDocs/uxp

Syntax error in object params

Open
#67 1 comment 3 reactions 1 assignee Claimed by @kerrishotts View on GitHub
UXP
Dominant language
JavaScript
Stars
20
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Issue in /src/pages/uxp/reference-js/Modules/uxp/Persistent File Storage/FileSystemProvider.md

It happens in a few instances on the page that object parameters use `=` instead of `:`, e.g.

```js
const folder = await fs.getFolder({initialDomain = domains.userDocuments}); // ❌
const folder = await fs.getFolder({initialDomain: domains.userDocuments}); // ✅
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.