Re:Show HN: cookies.js, making cookies a delight to work wit...
by SamBam on Thursday September 08, 2016 @02:47PM
(#12456001)
Why? It looks pretty standard to me. It uses named variables for options, instead of argument position, and has reasonable defaults, so you don't have to specify every option.
This is the standard, modern way of added options to a function.
This is the standard, modern way of added options to a function.