Closed sujaltv closed 4 years ago
Yeah I've been meaning to fix this for a really long time - thanks for finally pushing me to do it!
I released the new version with the fix (#5) as npm versions 1.0.5 (I messed up when pushing versions 1.0.3 and 1.0.4 😅) and 2.0.0 (since I messed up the 1s I figured a clean start would be good).
Consider this:
With the signature as it stands, the
console
would fail. Rather than having to explicitly check ifarray
's null before passing it on tohtn
, it would be desirable to do so implicitly: