Mercurial > urweb
comparison jslib/urweb.js @ 589:102e81d975e3
Included a recursive function in JavaScript
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 01 Jan 2009 11:58:00 -0500 |
parents | 1c969230ee7f |
children | d49d58a69877 |
comparison
equal
deleted
inserted
replaced
588:5803b4f041cb | 589:102e81d975e3 |
---|---|
43 | 43 |
44 function ts(x) { return x.toString() } | 44 function ts(x) { return x.toString() } |
45 function bs(b) { return (b ? "True" : "False") } | 45 function bs(b) { return (b ? "True" : "False") } |
46 | 46 |
47 function pf() { alert("Pattern match failure") } | 47 function pf() { alert("Pattern match failure") } |
48 |