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.
プロトタイプ.jsのハッシュのキーに複数の値を設定するには? 例:
var hash={2005: [107, 31, 635, 203, 2]}
あなたが書いたものを正確に取り、このようなハッシュに変換することができます
var hash=$H({2005: [107, 31, 635, 203, 2]}); console.log(hash.get(2005)); //returns [107, 31, 635, 203, 2] as an array