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.
インストラクターが指摘した配列を使用して、三匹の子ぶたの話をする必要があります。開始方法についてのアイデアは大歓迎です。
ありがとう、フェイス
var pigs = new Array("pig1", "pig2", "pig3"); function wolf_eat_pigs(pigs) { pigs = []; console.log("burb!"); } wolf_eat_pigs(pigs);
http://jsfiddle.net/djwave28/Sj3b5/6/