Lea Verou 3.12.2009

Reading cookies the regular expression way

Przeczytaj oryginał

This article critiques the common, verbose methods for reading cookies in JavaScript and proposes a more concise, regular expression-based alternative. The author argues that many developers unnecessarily avoid regex and provides their own tested function for efficiently parsing cookie values.

Reading cookies the regular expression way

komentarzy

Brak komentarzy

Bądź pierwszy, który podzieli się swoimi myślami!

Rozszerzenie przeglądarki

Uzyskaj natychmiastowy dostęp do AllDevBlogs z przeglądarki

Tydzień

No top articles yet