code: function Page(page) {
    if (!page) page = {};
    for (var key in page) this[key] = page[key];
    if (!this.hasOwnProperty('idx')) this.idx = 0;
    if (!this.hasOwnProperty('total')) this.total = 1;
    if (!this.hasOwnProperty('current')) {
      this.current = this.total;
    }
  }
docs: Page constructor
  
  ```js
  var page = new Page();
  ```
  
  @param {Object} `page` optional page object to populate initial values.
  @api public