Code & Deploy
siGit Code
Git Hosting
Toggle menu
Code
Code Review
Models
Repos
Sign in
Sign in
@samitouri
/
QOS-React
QOS-React
/
packages
/
eslint-plugin-react-hooks
/
src
/
code-path-analysis
/
assert.js
Code
Commits
Issues
Pulls
Sessions
CI/CD
main
main
js
9 lines
130 Bytes
Copy permalink
Copy
Raw
1
'
use strict
'
;
2
3
function
assert
(
cond
)
{
4
if
(
!
cond
)
{
5
throw
new
Error
(
'
Assertion violated.
'
);
6
}
7
}
8
9
module
.
exports
=
assert
;