I recently came across a function declaration with a Javascript syntax that I had never seen before.
!function() {
// some logic
}
This !
bang is called the unary operator.
I immediately started playing around in the Node console to try and understand this syntax.
Continue Reading