From df0878ce0d69b367e0c214b6f6b97fb915a3bbf1 Mon Sep 17 00:00:00 2001 From: Sami Vaarala Date: Fri, 2 Dec 2016 14:01:09 +0200 Subject: [PATCH] API doc --- website/api/duk_set_prototype.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/api/duk_set_prototype.yaml b/website/api/duk_set_prototype.yaml index 915a95a531..a693f797af 100644 --- a/website/api/duk_set_prototype.yaml +++ b/website/api/duk_set_prototype.yaml @@ -8,9 +8,9 @@ stack: | summary: |

Set the internal prototype of the value at idx to the value - at stack top (which must be an object or undefined). If the - target value is not an object or the prototype value is not an object or - undefined, an error is thrown.

+ at stack top If the target value is not an object or the prototype value is + not an object, undefined, or null, an error is + thrown.

Unlike Ecmascript prototype manipulation primitives, this API call allows