14 lines
331 B
Markdown
14 lines
331 B
Markdown
# chroma_trail.js — writeList() (satır 203)
|
||
|
||
[← chroma_trail.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function writeList(states, key, list) {
|
||
if (list.length === 0) {
|
||
if (states.has(key)) states.reset(key);
|
||
} else {
|
||
states.setString(key, list.join(";"));
|
||
}
|
||
}
|
||
```
|