Exercices about Variables

Good Morning Folks, I was confused about these two exercises:

Check what happens when you try to concatenate strings using variables of different data types

Use typeof to find the data type of the resulting value when concatenating variables containing two different data types.



Does anyone know an example of how these exercises can be done?

Thank you very much in advance!

You can always run js locally to test and review how it works (with a text editor like VS Code, vim, etc).

Good evenig @toastedpitabread , ok, i’ll try to run in the vs code

Thanks for the Help