array length in java script
by using this property we can get the total number of elements
<script>
function fun1()
{
arr=newarray(10,20,30)
alert(arr.length[]);
}
</script>
<input type="button" value="click"onclick=f"fun1()">
by using this property we can get the total number of elements
<script>
function fun1()
{
arr=newarray(10,20,30)
alert(arr.length[]);
}
</script>
<input type="button" value="click"onclick=f"fun1()">