console.log(typeof(variableName))
JavaScript doesn't support types as it is a weak typed language. Use TypeScript if you want to use types in development (there are no types in runtime)