/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS file in the same directory.
 * An arbitrary module header
 * @providesModule
 */

 const some: string = 'arbitrary code';
 const containing: string = 'ūñïčødę';

/**
 * An arbitrary class that extends some thing
 * It exposes a random number, which may be reset at the callers discretion
 */
class Arbitrary extends Something {
  constructor() {
    this.reset();
  }

  /**
   * Returns the random number
   * @returns number
   */
  get random(): number {
    return this._random;
  }

  /**
   * Re-creates the internal random number
   * @returns void
   */
  reset(): void {
    this._random = Math.random();
  }
}
