path parameter tells the browser what path the cookie belongs to. By default, the cookie belongs to the current page.
"path=/" to set a cookie (name) to all pages under wikimass.com.
"path=/js/cookies-path" to set a cookie (userweight) to this page and its sub pages (example programs of this page) only.
This is Default, when path is not specified.
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.