Wondering if you can use a given string as a variable name in JavaScript? Learn how it works, or just use this tool. permalink Enter a variable name: That’s a valid identifier according to ECMAScript 6 / Unicode 8.0.0. However, the NaN, Infinity, and undefined properties of the global object are immutable or read-only. Setting them won’t have an effect. Avoid using this variable name. It is a rese