Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'. No index signature with a parameter of type 'string' was found on type '{}'.ts(7053)
3. the method indexof, part of the list interface, returns the index of the first occurrence of an object in a list. what does the following code fragment do?