view tests/test.js @ 1457:aa2398e58306

Escape less-than in JavaScript strings
author Adam Chlipala <adam@chlipala.net>
date Thu, 12 May 2011 17:14:13 -0400
parents df09c95085f8
children
line wrap: on
line source
function print() {
  alert("Hi there!");
}

function bar(s) {
  alert("<<" + s + ">>");
}