• Revision slug: SpiderMonkey/JSAPI_Reference/JS_GetPropertyDefault
  • Revision title: JS_GetPropertyDefault
  • Revision id: 325883
  • Created:
  • Creator: ethertank
  • Is current revision? Yes
  • Comment

Revision Content

{{ jsapi_minversion_header("1.8.5") }}

Please provide a description for this function.


JSBool JS_GetPropertyDefault(JSContext *cx, JSObject *obj, const char *name,
    jsval def, jsval *vp);
Name Type Description
cx JSContext * The context. {{ Jsapi-requires-request() }}
obj JSObject *  
name const char *  
def jsval  
vp jsval  


{{todo("Please provide a description.")}}

See also

  • {{todo}}

Revision Source

<div>{{ jsapi_minversion_header("1.8.5") }}</div>

<p>Please provide a description for this function.</p>

<h2 id="Syntax" name="Syntax">Syntax</h2>

<pre class="syntaxbox">
JSBool <strong>JS_GetPropertyDefault</strong>(JSContext *cx, JSObject *obj, const char *name,
    jsval def, jsval *vp);</pre>

<table class="fullwidth-table">
      <td><code><a href="/en-US/docs/SpiderMonkey/JSAPI_Reference/JSRuntime" title="JSRuntime">JSContext</a> *</code></td>
      <td>The context. {{ Jsapi-requires-request() }}</td>
      <td><code>JSObject *</code></td>
      <td><code>const char *</code></td>

<h2 id="Description" name="Description">Description</h2>
<p>{{todo("Please provide a description.")}}</p>

<h2 id="See_also" name="See_also">See also</h2>
Revert to this revision