- <!DOCTYPE html>
- <title>Foo</title>
- <div>Expected value: <b>undefined</b></div>
- <div>Actual value: <b id="ret"></b></div>
- <script>
- // write a small example that shows off the API for your example
- // and tests it in one fell swoop.
- var myFunction = function(){ /* the code here should be identical to the entry. */ }
- document.getElementById( "ret" ).innerHTML = myFunction()
- </script>