Good question, I think this should actually be `return 0`. This is called from some C code:

	void* data = JSObjectGetPrivate( object );
	JSValueRef ret = nativeobject_GetProperty_go( data, (void*)ctx, (void*)object, (void*)propertyName, (void**)exception );
	assert( *exception==NULL || (*exception && !ret) );

Which will crash if exception is set and ret is truthy.

It's pretty strange code though, It seems like it should return some kind of "actual" value (not just 0 or 1). `val` is declared, but never returned. Wierd. Probably the whole function doesn't actually work. That's fine, later.