=proto int duk_pcall_prop(duk_context *ctx, int obj_index, int nargs); =stack [ ... obj! ... key! arg1! ...! argN! ] -> [ ... obj! ... retval! ] (if success, return value == 0) [ ... obj! ... key! arg1! ...! argN! ] -> [ ... obj! ... err! ] (if failure, return value != 0) =summary
Like duk_pcall()
, but the target function
is looked up from obj.key
and obj
is used as the function's
this
binding.