The browser storage localStorage is not available. Either your browser does not support it or you have disabled it or the maximum memory size is exceeded. Without localStorage your solutions will not be stored.

Playground

Here you can practice. Enter your code and use console.log for output. Here is an example.