~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to tools/eliminator/node_modules/uglify-js/test/unit/compress/test/issue50.js

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
function bar(a) {
 
2
        try {
 
3
                foo();
 
4
        } catch(e) {
 
5
                alert("Exception caught (foo not defined)");
 
6
        }
 
7
        alert(a);               // 10 in FF, "[object Error]" in IE
 
8
}
 
9
bar(10);