diff options
Diffstat (limited to 'record-store.js')
-rw-r--r-- | record-store.js | 4 |
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]]) { |