I see the following in some code:

    if (xxx === undefined)

And I see the following in some other code:

    if (typeof xxx == “undefined”)

    or

    if (typeof xxx === “undefined”)

Is one preferred over the other, style-wise? Is one more efficient than the 
other?

— Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to