index.js
function generator(n) {
  if (!n) return Date.now().toString(36).toUpperCase();
  return Math.random().toString(36).substring(2, 10).toUpperCase();
}
function generator(n) {
  if (!n) return Date.now().toString(36).toUpperCase();
  return Math.random().toString(36).substring(2, 10).toUpperCase();
}
function generator ( n ) { if ( ! n ) return Date . now ( ) . toString ( 36 ) . toUpperCase ( ) ; return Math . random ( ) . toString ( 36 ) . substring ( 2 , 10 ) . toUpperCase ( ) ; }
Simple helper function to generate some what unique id's for given
constructed pagelet.

@returns {String}
@api private
Simple helper function to generate some what unique id s for given constructed pagelet .