text: 'use strict'
  
  /*
   * Create a `repeat` function that takes a string and a number as parameters
   * and return the repeated string by the given number
   * Like the method https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat
   * Of course you may not use the method directly
   *
   */
  
  
  
  function repeat(a ,b){
      let result = ""
      for(let i= 1; i<= b; i++){
          
          result = result + a
  
  
      }
      return result
  }
  //* Begin of tests
  const assert = require('assert')
  
  assert.strictEqual(typeof repeat, 'function')
  assert.strictEqual(repeat.length, 2)
  assert.strictEqual(repeat.toString().includes('.repeat'), false)
  assert.strictEqual(repeat('a', 3), 'aaa')
  assert.strictEqual(repeat('ba', 10), 'babababababababababa')
  assert.strictEqual(repeat('pouet', 2), 'pouetpouet')
  assert.strictEqual(repeat('haha', 1), 'haha')
  assert.strictEqual(repeat('hehehe', 0), '')
  // End of tests */
  