Source: Pointer.js

/**
 * A pointer
 * @template T
 */
export class Pointer {
  /**
   * Construct a pointer.
   * @param {T} contents The contents of the pointer
   */
  constructor (contents) {
    this.contents = contents
  }
}