CookieJS Snippet

This is a snippet for Visual Studio Code and my first attempt. This is also why it is so simple.

The snippet gives the ability to easily generate cookie methods in JavaScript, so you can create good Object Orientated methods for your code without having to hunt down how to implement it.

With this snippet I was able to learn and expand my knowledge in JavaScript. In particular ECMAScript 6 using classes instead of objects and unit testing with QUnit.

This is where you can download the snippet for VS Code >

You can also see the coding created for the snippet, which was started in ES5 as an object, then progressed to ES6. This is held on my GitHub >

From here you can see the results of the Unit test and what kind of tests that were run. >

Leave a message please

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.