エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Javascript 「if文」と「switch文」の処理速度を調べる - Qiita
したいこと if文とswitch文の処理速度どっちが早い? console.time(''); 〜 console.Endtime('');を使... したいこと if文とswitch文の処理速度どっちが早い? console.time(''); 〜 console.Endtime('');を使用 実験code console.time('実行速度'); if($(this).hasClass('today')){ get_date.val(get_date_today); }else if ($(this).hasClass('tomorrow')){ get_date.val(get_date_tomorrow); }else if ($(this).hasClass('day_after_tomorrow')){ get_date.val(get_date_day_after_tomorrow); }else{ get_date.val(get_date_today); } console.timeEnd('実行速度'); cons
2017/06/21 リンク