Assert a function response

PHOTO EMBED

Tue Feb 01 2022 18:43:22 GMT+0000 (Coordinated Universal Time)

Saved by @tcovington #javascript

function add(a,b) {
  return a + b
}

console.assert(add(2,3) === 5, 'message goes can go here')
content_copyCOPY