Question: I need to customize my QTabWidget so that one of its tab bars (lets say there are 4 tabs overall) has expanding property and will fill the remaining space between other tabs. Any ideas?

Answer: 
```
const func = () => console.log("hi");
const times = 3;

Array.from({length: times}, () => func());

```

I define a function.
I set the number of times to repeat function.
I make an array the size of times to repeat function.
I run the "defined function" on each element of the array.
You may not be able to eval() a function, but you can call it. Here's the fix:

```js
function repeat(func, times) {
  for (x = 0; x < times; x++) {
    func()
  }
}

```