zano 0.1.3

A high-performance Node.js-like runtime built in Rust with JavaScript-compatible syntax, async support, and built-in modules
// Test try/catch error handling
console.log("Testing try/catch...")

try {
    console.log("In try block")
    let result = 10 / 2
    console.log("Division result:", result)
} catch (error) {
    console.error("Caught error:", error)
}

try {
    console.log("About to throw an error")
    throw "Something went wrong!"
} catch (e) {
    console.log("Caught thrown error:", e)
}

console.log("Program continues after error handling")