Type Conversion and Coercion

Take a look at the operations below and try to guess the values of the variables. After you’ve attempted to figure out what the variables would return, log them to the console to see if you were correct!

`const problemOne = ‘35’ – ‘10’ – 5`

`const problemTwo = ‘50’ * ‘10’`

`const problemThree = ‘23’ / ‘2’`

`const problemFour = ‘50’ > ‘40’`

Instructions: 

  1. Click the play button to watch the video lesson.
  2. Watch the lesson as many times as needed.
  3. Code along with the instructor using the integrated code editor in the center of your screen.
  4. You can use the Run button beneath the code editor to test your code.
  5. Output from the code that you have written will appear in the panel on the right side of your screen.

If you get stuck or need assistance, you can click the button below to connect with a tutor. 

For additional questions or technical support, email support@veroskills.com