| メソッド | 概要 |
|---|---|
| size | 要素数が返り値 |
| set(key,val) | キーとバリューのペアをオブジェクトにセット |
| get(key) | 指定したキーの要素を取得する |
| delete(key) | 指定したキーの要素を削除する |
| has(key) | 指定したキーの要素の有無を確認する |
| keys() | すべてのキーの値を取得する |
| values() | すべての値を取得する |
| entries | すべてのキー、値のペアを取得する |
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme