UNPKG
@mxmitch/lotide
Version:
latest (1.0.1)
1.0.1
1.0.0
A mini clone of the [Lodash](https://lodash.com) library.
github.com/mxmitch/lotide
mxmitch/lotide
@mxmitch/lotide
/
assertEqual.js
7 lines
•
246 B
JavaScript
View Raw
1
2
3
4
5
6
7
const
assertEqual =
function
(
actual, expected
) {
if
(actual === expected) {
console
.
log
(
`✅✅✅ Assertion Passed:
${actual}
===
${expected}
`
); }
else
{
console
.
log
(
`🛑🛑🛑 Assertion Failed:
${actual}
!==
${expected}
`
); } };