The function print()
gives newline character at the end.
following is the JS code
print("first");
Things =["car","building"]
for (var i = Things.length - 1; i >= 0; i--)
{
print(Things[i])
}
the Output I get for the code above is
first
building
car
Whereas I intended to print like this
firstbuildingcar