var data =[“naruto” ,“kakashi” ,3 ,5];
why does this code print the output in square brackets.
is there any way to print only the actual data within the array like c/c++


you could use a for loop to print each element of the array


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.