I have a Java background.
There, especially in the JDK 1.2 times, it was mandatory to have a frugal string management. So we would use constants everywhere, and minimize the use of strings, especially when used as keys which are repeated all over the code (and, even more especially, in loops).
In javascript though, I rarely see people using constants for strings - it seems rather profuse that strings are used literally all over the code, even for relatively high quality code I have seen.
Is it because javascript doesn't have problems when handling strings? Does it maybe have some intelligent memory management or something? Actually my intuition tells me it doesn't...