For a string, .length counts characters. For an array, it counts elements

By ali

Leave a Reply