How do I differentiate between variable types in JavaScript?
<p>In JavaScript, I want to write a function that determines if the two variables passed in are of the same data type, such as string, integer, boolean etc. However, I have no idea as to how to compare the two variables in term of their DATA TYPES instead of the VALUES stored inside the variables.</p>

<p>Thank you in advance =)</p>
