Skip to content

How to get first element from list in TypeScript?

var ary = ['first', 'second', 'third', 'fourth', 'fifth'];
alert(ary[0]);
See also  How to move text down in CSS?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.