Javascript Cookie: cookie.split method

In this example a cookie is being set and then displayed through the split method. js cookies have a string that take the

First name:



Surname name: