Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
@ model.get()でアクセスできるbackbone.jsモデルのすべての属性を表示する簡単な方法はありますか?alert @model.attributes[オブジェクトオブジェクト]のみを表示します。
alert @model.attributes
属性のキーだけを取得するには、次のことを試してください。
Object.keys(@model.attributes)