We would like to know how to stringify array by join.
<!DOCTYPE html>
<html>
<body>
<script type='text/javascript'>
<!-- w ww.ja v a 2 s . c om-->
var arr = new Array();
arr[0] = "1";
arr[1] = "2";
document.writeln(arr.join("*"));
</script>
</body>
</html>
The code above is rendered as follows: