Engrain by ByteRush

FND.09.02 BeginnerCore — asked often

Operators and conditions

Comes up in: Recruiter screen

This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.

What it covers

  • arithmetic
  • comparison
  • === vs == (rule: use ===)
  • logical &&, ||, !
  • if/else
  • switch
  • truthy and falsy values
  • ternary

Words you will know

operatorconditiontruthyfalsy

What you will practise

  • grade calculator
  • FizzBuzz (worked → independent)

Interview questions this answers

  • What are truthy and falsy values? List the falsy values.