ユニークキーの作成

function getUniqueId() {
  return (
    new Date().getTime().toString(36) + "-" + Math.random().toString(36)
  );
}