UNPKG
@ahsolo/lotide
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
lotide assignment for Lighthouse Labs coding bootcamp
github.com/ahSOLO/lotide
ahSOLO/lotide
@ahsolo/lotide
/
assertEqual.js
11 lines
(10 loc)
•
274 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
const
assertEqual =
function
(
actual, expected
) {
if
(actual === expected) {
console
.
log
(
`✅ Assertion Passed:
${actual}
===
${expected}
`
); }
else
{
console
.
log
(
`❌ Assertion Failed:
${actual}
!==
${expected}
`
); } };
// Export
module
.
exports
= assertEqual;