Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script type="text/javascript">
var ArrayData = [5, 6, 9];
// store array to localstorage
localStorage.setItem("list_data_key", JSON.stringify(ArrayData));
// retrieve stored data (JSON stringified) and convert
var storedData = localStorage.getItem("list_data_key");
if (storedData) {
ArrayData = JSON.parse(storedData);
alert(ArrayData);
}
</script>
</body>
</html>
The most helpful JAVASCRIPT solutions