You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the 'Enum' name gets defined in the enums module as follows:
Enum = function (obj) {
Since var is not used in the definition, this 'polutes' the JavaScript global namespace with the Enum name. I assume this wasn't the original intent, rather something like:
var Enum = function (obj) {
Or... even simpler:
function Enum(obj) {
The text was updated successfully, but these errors were encountered:
Hi guys,
Currently, the 'Enum' name gets defined in the enums module as follows:
Since
var
is not used in the definition, this 'polutes' the JavaScript global namespace with the Enum name. I assume this wasn't the original intent, rather something like:Or... even simpler:
The text was updated successfully, but these errors were encountered: