(source)
| 5124 | // 'this' binding. |
| 5125 | const newEval= { |
| 5126 | eval(source) { |
| 5127 | if( typeof source!== 'string') { |
| 5128 | // As per the runtime semantic of PerformEval [ECMAScript 18.2.1.1]: |
| 5129 | // If Type(source) is not String, return source. |
| 5130 | // TODO Recent proposals from Mike Samuel may change this non-string |
| 5131 | // rule. Track. |
| 5132 | return source; |
| 5133 | } |
| 5134 | return safeEvaluate(source); |
| 5135 | }}. |
| 5136 | eval; |
| 5137 | |
| 5138 | return newEval; |
nothing calls this directly
no test coverage detected