Check out example codes for "how to print certain elements of an array". It will help you in understanding the concepts better.

Code Example 1

var array = ['a','b','c','d','e','f','g']

for(var i = 0; i < array.length ; i++){
    if ((array[i] != 'b') && (array[i] != 'f')){
if statement and u need && and number of statements needs same number of ()
every letter needs own statement and != means not 


Learn ReactJs, React Native from