doc_frame-parameters.html 967 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!-- Any copyright is dedicated to the Public Domain.
  2. http://creativecommons.org/publicdomain/zero/1.0/ -->
  3. <!doctype html>
  4. <html>
  5. <head>
  6. <meta charset="utf-8"/>
  7. <title>Debugger test page</title>
  8. </head>
  9. <body>
  10. <button onclick="start()">Click me!</button>
  11. <script type="text/javascript">
  12. function test(aArg, bArg, cArg, dArg, eArg, fArg) {
  13. var a = 1;
  14. var b = { a: a };
  15. var c = { a: 1, b: "beta", c: 3, d: false, e: null, f: fArg };
  16. var myVar = {
  17. _prop: 42,
  18. get prop() { return this._prop; },
  19. set prop(val) { this._prop = val; }
  20. };
  21. debugger;
  22. }
  23. function start() {
  24. var a = { a: 1, b: "beta", c: 3, d: false, e: null, f: undefined };
  25. var e = eval("test(a, 'beta', 3, false, null);");
  26. }
  27. var button = document.querySelector("button");
  28. var buttonAsProto = Object.create(button);
  29. </script>
  30. </body>
  31. </html>