TypedArray অবজেক্টের toString() ফাংশন টাইপ করা অ্যারের বিষয়বস্তু উপস্থাপন করে একটি স্ট্রিং প্রদান করে।
সিনট্যাক্স
এর সিনট্যাক্স নিম্নরূপ
typedArray.toString();
উদাহরণ
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var typedArray = new Int32Array([111, 56, 62, 40, 75, 36, 617, 2, 139, 827 ]);
var result = typedArray.toString();
document.write("Contents of the typed array: "+result);
</script>
</body>
</html> আউটপুট
Contents of the typed array: 111,56,62,40,75,36,617,2,139,827