<script>
function cat(){}
var cat = new cat();
console.log(cat.constructor)
console.log(typeof cat)
var a="dsuif"
console.log(a.constructor)
console.log(typeof a)
</script>
<script>
function cat(){}
var cat = new cat();
console.log(cat.constructor)
console.log(typeof cat)
var a="dsuif"
console.log(a.constructor)
console.log(typeof a)
</script>