tangled
alpha
login
or
join now
jcs.org
/
serenity
0
fork
atom
Serenity Operating System
0
fork
atom
overview
issues
pulls
pipelines
serenity
/
Libraries
/
LibJS
/
Tests
/
exception-ReferenceError.js
at
hosted
7 lines
96 B
view raw
wrap content
Brian Gianforcaro
LibJS: Use the native assert() implementation now avaiable in 'js -t'
6y ago
bc40908d
1
try
{
2
i
<
3
;
3
}
catch
(
e
)
{
4
assert
(
e
.
name
===
"ReferenceError"
)
;
5
}
6
7
console
.
log
(
"PASS"
)
;