"use strict"

/**
 * Creata a text with a word a number of times
 *
 * @param word - Word to be written.
 * @param count - How many times the word will be in the text.
 * @returns A text with a number of words.
 */
export function CreatTextWithWord(count:number, word:string) {
  let result = "";

  for (let i=0; i < count; i++) {
      result += word;
  }

  return result;
}
