속성-값 쌍 또는 "키-값 쌍"으로 이루어진 데이터 오브젝트를 전달하기 위해 인간이 읽을 수 있는 텍스트를 사용하는 개방형 표준 포맷
Number
String
Boolean
Array
Object
null
console.log( JSON.parse('1') );
// 1
console.log( JSON.parse('"abc"') );
// abc
console.log( JSON.parse('true') );
// true
console.log( JSON.parse('[1,2,3]') );
// [1, 2, 3]
console.log( JSON.parse('{"a":"b"}') );
// {a: "b"}
console.log( JSON.parse('null') );
// null
출처 : https://medium.com/@pks2974/javascript-%EC%99%80-json-f098a8f6ae77
브라우저 창이 닫힌 후에도 만료 날짜가없는 데이터
localStorage.setItem('key', 'value') : 데이터 추가
localStorage.getItem('key') : 특정 키를 얻는 방법
localStorage.removeItem('key') : 데이터 제거
localStorage.clear() : 모든 저장소가 제거