start(): void {
let a = 2;
let b = 3;
assert(a === b, "error");
}
run in the browser or editor doesnt throw out any error. Am i using it wrong ?
start(): void {
let a = 2;
let b = 3;
assert(a === b, "error");
}
run in the browser or editor doesnt throw out any error. Am i using it wrong ?
There is no standard assert
in JavaScript or TypeScript.