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