V8 has made some changes. I agree that you need to use NaN for a better evolution of V8. This is a good macroform.
v8::String::New("test")converted to NanSymbol("test").
But all the new methods have been changed with a beautiful template.
NanNew<v8::Integer>(1)for example for an integer.
source
share