text: class Utils {
  
      static getWindowSize() {
          let w = window,
              d = document,
              e = d.documentElement,
              g = d.getElementsByTagName('body')[0],
              x = w.innerWidth || e.clientWidth || g.clientWidth,
              y = w.innerHeight || e.clientHeight || g.clientHeight;
          return [x, y];
      }
  
      static getFormattedDate() {
          let d = new Date();
          d = "" + d.getFullYear() + ('0' + (d.getMonth() + 1)).slice(-2) + ('0' + d.getDate()).slice(-2) +
              ('0' + d.getHours()).slice(-2) + ('0' + d.getMinutes()).slice(-2) + ('0' + d.getSeconds()).slice(-2);
          return d;
      }
  
      static getRandomInt(min, max) {
          min = Math.ceil(min);
          max = Math.floor(max);
          return Math.floor(Math.random() * (max - min)) + min; //The maximum is exclusive and the minimum is inclusive
      }
  
      static checkElement(target) {
          if (typeof target !== 'object') return false;
          return true;
      }
  
      static getCountOfOwnProperty(obj) {
          let count = 0;
          for (let prop in obj)
              if (obj.hasOwnProperty(prop))
                  count++;
          return count;
      }
  
  }
  
  export default Utils;