- 
    Sub-task 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    8
- 
    None
- 
        b110
                    jjs> new RegExp({toString:function(){print("str1")}},{toString:function(){print("str2")}})
Expected: "str1" and then "str2"
Actual: "str2" and then "str1"
jjs> new RegExp(/asdf/, {toString:function(){throw "blubb"}})
Expected: throw TypError instead of "blubb"
Actual: "blubb" is thrown
            
Expected: "str1" and then "str2"
Actual: "str2" and then "str1"
jjs> new RegExp(/asdf/, {toString:function(){throw "blubb"}})
Expected: throw TypError instead of "blubb"
Actual: "blubb" is thrown