I'm a beginner programmer and mostly use c++.
While working with Javascript arrays I used post.length() which gave an error. The correct syntax being post.length
where post is an array name.
I have encountered many situations where some functions don't have parentheses and have confused me for some time . What are the difference among these? Is there a way to know whether a function will have such conditions or not?