[Javascript]mapでkeyを変数値にする方法 mapでkeyを変数値にする方法 const key = "age" const value = "10" const result = {[key]:value} console.log(result) 投稿者: kinkun 保有資格 Salesforce Certified Platform App Builder T Salesforce Certified Platform Developer I Salesforce Certified Platform Developer II Salesforce Certified Administrator kinkun のすべての投稿を表示