10 lines
241 B
Markdown
10 lines
241 B
Markdown
# potion_rain.js — trim() (satır 150)
|
||
|
||
[← potion_rain.js](index.md) · [← Master](../../wiki.md)
|
||
|
||
```javascript
|
||
function trim(s) {
|
||
return String(s === null || s === undefined ? "" : s).replace(/^\s+|\s+$/g, "");
|
||
}
|
||
```
|