I wonder what javascript engine this module was developed for?
In V8 you can't assign a property to a string. That's why bug #24 appears with Node.js:
var x = new String("test");
x.prop = "hi";
// x == 'test'
// x.prop == 'hi'
x += 'test'
// x == 'testtest'
// x.prop == undefined
x.prop = 'hi'
// x.prop == undefined
// (it's a string now, not an object, it's immutable now)
I wonder what javascript engine this module was developed for?
In V8 you can't assign a property to a string. That's why bug #24 appears with Node.js: