I replaced a nested if-else with a ternary operator to make the code shorter and clearer.
ネストした if-else を三項演算子(?:)に置き換えて、コードを短く分かりやすくしました。
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★