We're a place where coders share, stay up-to-date and grow their careers.
I would have to agree with you, however in the wild most code I've seen misinterprets this and there is mixed usage of both all over the place..
And everybody is true here :)
I try to use undefined as much as I can instead of null.
undefined
null
But some frameworks want you to use null.
I would have to agree with you, however in the wild most code I've seen misinterprets this and there is mixed usage of both all over the place..
And everybody is true here :)
I try to use
undefined
as much as I can instead ofnull
.But some frameworks want you to use
null
.