There is something additional to mention here, because the bool Set()
function has been deprecated in recent versions of V8, and replaced
with Maybe. The header says:
* If an API method returns a MaybeLocal<>, the API method can potentially fail
* either because an exception is thrown, or
I'm getting
warning: ignoring return value of function declared with warn_unused_result
attribute [-Wunused-result]
obj->Set(isolate->GetCurrentContext(),
^~~~ ~
Presumably I should get the return result of Object::Set. But what shall I
do if it