• Is there an 'assert' function to detect out of bounds conditions as in 'C'?

    No... But you can just add console.assert = function(x){if(!x) throw new Error("Assert Failed")}; and job done

About

Avatar for Gordon @Gordon started