I want to define an `array` of objects in JavaScript. object with two properties first is a `text` and second is a `boolean`. that at first it is empty and then I add member in array one by one.

```
myarray = [
{"text1",true},
{"text2",false},
{"text3",false}
];

```