JSFiddle - React, Tailwind, and code Playground
by nfreitas
HTML
<script src="http://santarosa.edu/~jperetz/fall2012/js/alert-errors.js"></script>
JavaScript
/*jslint browser: true */
var a = 3;
var b = 5;
if (a === b) {
a = 4;
} else {
a = 6;
}
document.write(a);
// JsFiddle says that this code no longer has errors.
// This still generates two errors at jslint.com, both of which
// are related to using document.write(). We'll find better ways
// to do this in the future.