(ExecutionContext context, Object o)
| 474 | } |
| 475 | |
| 476 | public static String typeof(ExecutionContext context, Object o) { |
| 477 | // 11.4.3 |
| 478 | Object val = o; |
| 479 | if (o instanceof Reference) { |
| 480 | Reference r = (Reference) o; |
| 481 | if (r.isUnresolvableReference()) { |
| 482 | return "undefined"; |
| 483 | } |
| 484 | val = getValue(context, o); |
| 485 | } |
| 486 | |
| 487 | return type(val); |
| 488 | } |
| 489 | |
| 490 | public static Object compareRelational(ExecutionContext context, Object x, |
| 491 | Object y, boolean leftFirst) { |
no test coverage detected