view pydershell/test.js @ 13:2a3313bfe574

Minor refactoring.
author Atul Varma <varmaa@toolness.com>
date Sun, 06 Sep 2009 14:27:03 -0700
parents fb25af17bae6
children 1d62177c5c27
line wrap: on
line source

print('hello there dood');

function blah() {
  print('hi');
  try {
    throw new Error('baffs');
  } catch (e) {
    print('exception is ' + e);
    throw e;
  }
}

foo(blah);