code: function $rands(params) {
      if (
          Array.isArray(params) &&
          params.length === 2 &&
          Array.isArray(params[0]) &&
          typeof params[1] === 'number'
      ) {
          return Array(params[1])
              .fill()
              .map(() =>
                  params[0].splice(
                      Math.floor(Math.random() * params[0].length),
                      1
                  )
              )[0];
      }
      throw new Error(
          '$rands expects an array of two elements of which the first must be an array and the second be a number'
      );
  }
docs: Return the given amount of elements at random indices
  
  @param {[any[], number]} params
  @returns {any[]}