« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/record-store.js
diff options
context:
space:
mode:
Diffstat (limited to 'record-store.js')
-rw-r--r--record-store.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/record-store.js b/record-store.js
index d0c7623..80c8d3a 100644
--- a/record-store.js
+++ b/record-store.js
@@ -1,4 +1,4 @@
-const recordSymbolKey = Symbol()
+const recordSymbolKey = Symbol('Record symbol')
 
 module.exports = class RecordStore {
   constructor() {
@@ -13,7 +13,7 @@ module.exports = class RecordStore {
     }
 
     if (!obj[recordSymbolKey]) {
-      obj[recordSymbolKey] = Symbol()
+      obj[recordSymbolKey] = Symbol('Reference to a record')
     }
 
     if (!this.data[obj[recordSymbolKey]]) {