<!DOCTYPE html>
<html lang="en-US">
<body>
<script>
var arr = ["Apple", "Banana", "Cherry"];
document.write("arr = " +typeof arr);
//Convert object to string
var result = arr.toString();
document.write("<br>result = " +typeof result);
</script> </body>
</html>