JSFiddle - React, Tailwind, and code Playground

by anil001ry

JavaScript

var doctors = [
  'rem', 
  'rich_clark', 
  'brucel', 
  'jackosborne', 
  'leads', 
  'akamike', 
  'boblet'];
localStorage.doctors = JSON.stringify(doctors);

// later that evening…
var html5docs = JSON.parse(localStorage.doctors);
alert('There be ' + doctors[0] + ' doctors in the house');

if(doctors[0] === "rem"){
alert("hi");
}