ljharb / json-stable-stringify

MIT License
55 stars 11 forks source link

Replace var with const? #7

Closed JimLynchCodes closed 11 months ago

JimLynchCodes commented 11 months ago

I noticed in the README here all the examples use var.

Var is a very oldschool syntax and basically all usage of it is now an antipattern.

Can we please update the examples to use the "const" keyword?

ljharb commented 11 months ago

Sure, updating the examples seems fine.

JimLynchCodes commented 1 month ago

thanks all 👍