| Index: src/date.js
|
| diff --git a/src/date.js b/src/date.js
|
| index 9eb607c7e5e160798354f77dc9a02b75098cc4c1..1fb4897921a91fb1d434909136e9d0034f584c29 100644
|
| --- a/src/date.js
|
| +++ b/src/date.js
|
| @@ -605,7 +605,7 @@ function DateToTimeString() {
|
|
|
| // ECMA 262 - 15.9.5.5
|
| function DateToLocaleString() {
|
| - return DateToString.call(this);
|
| + return %_CallFunction(this, DateToString);
|
| }
|
|
|
|
|
| @@ -973,7 +973,7 @@ function DateSetYear(year) {
|
| // do that either. Instead, we create a new function whose name
|
| // property will return toGMTString.
|
| function DateToGMTString() {
|
| - return DateToUTCString.call(this);
|
| + return %_CallFunction(this, DateToUTCString);
|
| }
|
|
|
|
|
|
|