var
ara = [1, 2, 3, 4, 5];
function
funMake() {
document.write(ara[ara.length-1] +
' '
);
}
var ara = [1, 2, 3, 4, 5]; function funMake() { document.write(ara[ara.length-1] + ' '); }
<!DOCTYPE html>
<
html
>
head
meta
charset
=
"utf-8"
/>
title
>New Page</
script
src
"js/script.js"
></
</
body
funMake();