mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
957 B
40 lines
957 B
summary: requires DUK_USE_LIGHTFUNC_BUILTINS
|
|
---
|
|
Object.defineProperty
|
|
pd_in
|
|
typeof get: function
|
|
isLightFunc get: false
|
|
typeof set: function
|
|
isLightFunc set: false
|
|
get(=Math.min)(9,-3,11,4): -3
|
|
set(=Math.max)(9,-3,11,4): 11
|
|
pd_out
|
|
typeof get: function
|
|
isLightFunc get: false
|
|
typeof set: function
|
|
isLightFunc set: false
|
|
get(=Math.min)(9,-3,11,4): -3
|
|
set(=Math.max)(9,-3,11,4): 11
|
|
pd_in.get == pd_out.get: true
|
|
pd_in.get === pd_out.get: true
|
|
pd_in.set == pd_out.set: true
|
|
pd_in.set === pd_out.set: true
|
|
Object.defineProperties
|
|
pd_in
|
|
typeof get: function
|
|
isLightFunc get: false
|
|
typeof set: function
|
|
isLightFunc set: false
|
|
get(=Math.min)(9,-3,11,4): -3
|
|
set(=Math.max)(9,-3,11,4): 11
|
|
pd_out
|
|
typeof get: function
|
|
isLightFunc get: false
|
|
typeof set: function
|
|
isLightFunc set: false
|
|
get(=Math.min)(9,-3,11,4): -3
|
|
set(=Math.max)(9,-3,11,4): 11
|
|
pd_in.get == pd_out.get: true
|
|
pd_in.get === pd_out.get: true
|
|
pd_in.set == pd_out.set: true
|
|
pd_in.set === pd_out.set: true
|
|
|