--

Hello & thanks for response Michael!

That is a very good point. I kind of missed it due to the fact that I never use null in JavaScript. It can be considered broken. undefined is however ok (even though "Maybe" ADT is preferable).

I should include some comment about this in the article, thanks again.

--

--

Esbjörn Blomquist
Esbjörn Blomquist

Written by Esbjörn Blomquist

Software architect and developer with web and functional JavaScript close to his heart. Worked many years with web solutions mainly within the IoT field.

Responses (3)