1
0
mirror of https://github.com/robertkrimen/otto synced 2025-09-28 18:45:22 +08:00
otto/.test262/shim.js
2012-10-19 16:24:14 -07:00

14 lines
187 B
JavaScript

function $ERROR(message) {
console.log(message)
}
function runTestCase(fn) {
if (fn()) {
console.log("pass")
} else {
console.log("=== fail")
}
}
// ---