Syntax clarification needed

Is there any difference between
this

console.log(typeof(newarr[0]))

and that

console.log(typeof newarr[0])

cause I don’t see any. It’s just JS a little bit ‘forgiving/flexible’?

yeah both syntaxes are correct.
check out:

typeof(operand)

This syntax is useful when you want to evaluate an expression rather than a single value.

from:

Makes sense, generally parenthesis are helpful when dealing with complex expressions