how to check if the const is jsx

JavaScript
var x = "a"
console.log(typeof x)
Source

Also in JavaScript: