criar tipo em javascript

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)
I_Like_Cats__