Object.values is not a function?
lordmortis opened this issue · 2 comments
lordmortis commented
I'm getting Uncaught TypeError: Object.values is not a function
from Chrome when I initialise the enums
i'm doing that this way:
const ANSWER_TYPES = Enum('NONE', 'SCALE', 'MULTI_CHOICE');
wwayne commented
Which version of nodejs your are using? Weird...I've used this in my project(nodejs < 1.0).
I will take more testa later
wwayne commented
@lordmortis Fixed, but make sure you are using nodejs >= 4.0.0
or using babel in your project.