the declaration of the result variable must be out of the loop

```
'use strict'

  var array = [];

  var words = ["JHON", "CHARLES","KERLYN","YEAH","JUAN"]

  var result = [];

  words.forEach((element,index)=>{

    if(element.lastIndexOf("J")==0){

      result.push(element);

    }
    console.log(result)
 })
```