Open Console to enjoy...All APIs are available there.

  window.emojiUtil = {
    isEmoji,
    containsEmoji,
    str2unicodeArray,
    length,
    substr,
    toArray
  };

Failed cases will be logged in Console with console.error()