UNPKG
@kowo0403hk/lotide
Version:
latest (1.0.1)
1.0.1
1.0.0
lotide library by LHL Bootcamp student
github.com/kowo0403hk/lotide
kowo0403hk/lotide
@kowo0403hk/lotide
/
assertEqual.js
9 lines
(8 loc)
•
268 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
assertEqual =
function
(
actual, expected
) {
if
(actual === expected) {
console
.
log
(
`\u2705 Assertion Passed:
${actual}
===
${expected}
`
); }
else
{
console
.
log
(
`\u26d4 Assertion Failed:
${actual}
!==
${expected}
`
); } };
module
.
exports
= assertEqual;