summaryrefslogtreecommitdiff
path: root/deps/v8
diff options
context:
space:
mode:
authorSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-08-26 15:22:43 +0530
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-09-15 19:59:38 +0530
commit52f84add7746a233f1d4c8904344bef35b8fa2d2 (patch)
tree05d40d7d8c240ca419fb2803b92e1f675848702c /deps/v8
parentb9813641dcfda60a1c0035cb385ef0cbbaf9577f (diff)
downloadandroid-node-v8-52f84add7746a233f1d4c8904344bef35b8fa2d2.tar.gz
android-node-v8-52f84add7746a233f1d4c8904344bef35b8fa2d2.tar.bz2
android-node-v8-52f84add7746a233f1d4c8904344bef35b8fa2d2.zip
test: fix default value for additional param
In Python, the default values of parameters are evaluated only once during their declaration. So, whenever the default parameter is used the same object will be used. Since we use a list, which is a mutable object, this could lead to unexpected results. PR-URL: https://github.com/nodejs/node/pull/2553 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/v8')
0 files changed, 0 insertions, 0 deletions