Can I use .length on other data types like numbers?


#1

Question

Can I use .length on other data types like numbers?

Answer

No, for the primitive data types, strings are the only ones with the .length property.