正解はプロパティ名の省略(Shorthand properties)です。const name = "John"; const obj = { name }; は { name: name } と同等です。コードを簡潔にするために広く使われます。