For count we can just use the array length.
count() { //Return count of numbers in our "nums" ivar return this.nums.length; }
📋
JavaScript Guide
Recipe For 'count'
Search Site
Home
Back To Top