SharedPrefferance in javascipt.

Please answer these questions to help fix this issue:
What’s the issue?
What’s the engine version?
How to reproduce it?

how we can use sharred prefferance in javascript.