On Wed, Jun 22, 2011 at 9:25 AM, Jedrzej Nowacki
<[email protected]>wrote:

> On Tuesday 21. June 2011 18.21.31 ext Stephan Beal wrote:
> > return v8::ThrowException(v8::String::New(...));
>
> There is an another one here, v8::ThrowException returns v8::Undefined,
> always.
>

That's generally not a problem, though, (in my experience) because Throwing
will cause the return value to be lost anyway (just like in C++):

function abc() {
   throw "def";
}

we will never get any return value from that function.


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to