0
JavaScript, the typeof operator
So I'm a newbie and I have a problem with typeof operator, so here's a variable 'a' and I have to write it in new variable aType I have: 'use strict' // use type of variable 'a' console.log(a); Is it: const a = aType; const type =typeof a;
1 Resposta
+ 1
let a;
let aType = typeof a;
console.log(aType); //undefined