#author("2021-07-08T17:42:36+09:00","default:ryuichi","ryuichi")
* オブジェクトのループ [#w33e8c54]

** キーと値の両方 [#ecaab23d]
#pr(javascript){{
 const obj = { name: 'john', age: 10, address: 'us' };
 for (const [key, val] of Object.entries(obj)) {
   console.log(key, val);
 }
}}


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS