1{{header}} 2{{object 1 0}} << 3 /Type /Catalog 4 /Pages 2 0 R 5 /OpenAction 10 0 R 6>> 7endobj 8{{object 2 0}} << 9 /Type /Pages 10 /Count 1 11 /Kids [ 12 3 0 R 13 ] 14>> 15endobj 16% Page number 0. 17{{object 3 0}} << 18 /Type /Page 19 /Parent 2 0 R 20 /MediaBox [0 0 612 792] 21>> 22% OpenAction action 23{{object 10 0}} << 24 /Type /Action 25 /S /JavaScript 26 /JS 11 0 R 27>> 28endobj 29% JS program to exexute 30{{object 11 0}} << 31 {{streamlen}} 32>> 33stream 34function expect(str, expected) { 35 try { 36 var result = eval(str); 37 if (result == expected) { 38 app.alert('PASS: ' + str + ' = ' + result); 39 } else { 40 app.alert('FAIL: ' + str + ' = ' + result + ', expected = ' + expected); 41 } 42 } catch (e) { 43 app.alert('ERROR: ' + e.toString()); 44 } 45} 46 47try { 48 expect("typeof gc", "function"); 49 expect("typeof WebAssembly", "undefined"); 50} catch (e) { 51 app.alert('Truly unexpected error: ' + e); 52} 53endstream 54endobj 55{{xref}} 56{{trailer}} 57{{startxref}} 58%%EOF 59