32teeth/storage.js

set a false value

Closed this issue · 2 comments

Hello, just a notice here.

Tell me if I'm wrong (I didn't test it), but doing ìf (!val) to check for existing 2nd parameter won't allow to store a false value or even 0, right?

Maybe you should check for undefined value?

thanks for the heads up!

fixed