In programming it's often necessary to write code that depends on some condition to be true. プログラミングでは、ある条件が真であることが必要な場合にコードを書くことがよくあります。 . For a good example, let's imagine we're building a website! 良い例として、ウェブサイトを構築しているとしましょう! . We want users to be sent to the dashboard only if they are logged in. Otherwise we should send them to the login page: ユーザーがログインしている場合にのみダッシュボードに転送し、そうでなければログインページに転送する必要があります: .if(loggedIn) { // loggedIn is true goToDashboard(); } else { // loggedIn i...