Details
-
Sub-task
-
Resolution: Fixed
-
P3
-
8
-
None
-
b115
-
generic
-
generic
Description
jjs> String.prototype.charAt.call({toString:function(){print("toStr")}}, {valueOf:function(){print("valueOf")}})
Expected: first "toStr" and then "valueOf" printed
Actual: "valueOf" and then "toStr" printed
jjs> String.prototype.charCodeAt.call({toString:function(){print("toStr")}}, {valueOf:function(){print("valueOf")}})
Expected: first "toStr" and then "valueOf" printed
Actual: "valueOf" and then "toStr" printed
Expected: first "toStr" and then "valueOf" printed
Actual: "valueOf" and then "toStr" printed
jjs> String.prototype.charCodeAt.call({toString:function(){print("toStr")}}, {valueOf:function(){print("valueOf")}})
Expected: first "toStr" and then "valueOf" printed
Actual: "valueOf" and then "toStr" printed