Artifact 0b44524d560e5ef090e9e8e1e73f360b8e9e25f2:
- File s2/unit/050-000-func-call.s2 — part of check-in [210ba2cf23] at 2014-07-17 14:16:13 on branch trunk — Initial infrastructure for s2 script bindings (supercedes th1ish). (user: stephan size: 356)
print.x = print; assert print === print('from print()'); assert print === print.x('from print.x()'); assert print === print.x['x']('from print.x["x"]()'); // Demonstrate skip-mode's effect on function calls: false && print.x.y.z(foo); true || print.x.y.z(foo); (print.x)('from (print.x)()'); var o = { p: print }; assert print === o.p('from o.p()');