- + JavaScript の質問用スレッド vol.118 + [転載禁止]©2ch.net
766 :デフォルトの名無しさん[sage]:2016/02/08(月) 19:53:14.61 ID:hJZZUY1h - >>765
そのアルゴリズムの関数を提供しているライブラリがありまして。 このように簡単に使うことが出来ます。 https://lodash.com/docs#shuffle Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. Arguments collection (Array|Object): The collection to shuffle. Returns (Array): Returns the new shuffled array. Example _.shuffle([1, 2, 3, 4]); // → [4, 1, 3, 2]
| - Git 13 [転載禁止]©2ch.net
840 :デフォルトの名無しさん[sage]:2016/02/08(月) 22:42:39.27 ID:hJZZUY1h - diffツールでやるな
新しくブランチ作るかcherry-pick使え
| - Git 13 [転載禁止]©2ch.net
841 :デフォルトの名無しさん[sage]:2016/02/08(月) 22:43:30.57 ID:hJZZUY1h - それからmasterにブランチをマージするときに
コンフリクトが起きたものをdiffツールでマージするな
|
|