Fixed extra comma on stringified items.
This commit is contained in:
		@@ -10,7 +10,9 @@ export function grammaticalListString(items, max) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
        built += item;
 | 
			
		||||
        built += ", ";
 | 
			
		||||
        if (index < items.length - 1) {
 | 
			
		||||
            built += ", ";
 | 
			
		||||
        }
 | 
			
		||||
        if (index == max - 1) {
 | 
			
		||||
            built += "and ";
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user