I want to make a function alpha such that if I do: 

```
"hello".alpha(5)

```

then it should output hello string 5 times in a row. 

I know how to make such a function, but don't know how to use prototype so that it would work if I attach that in a manner shown above. Can someone help out? 

**My Function:** 

```js
str1 = "hello";
function alpha(num, str) {
  var temp = "";
    for (i=0; i<num;i++){
      temp+=" " + str;
    }
  return temp;
}
console.log(alpha(10, str1));
```