Typescript Assignment
Typescript Assignment
11. Write a function that counts the number of vowels (a, e, i, o, u) in a given string
12. Create an interface Person with name (string), age (number), and isStudent (boolean).
Write a function that takes a Person object and prints a message based on their
properties.
13. Write a function that takes an array of numbers and returns a new array containing only
the even numbers.
14. Create a function that accepts two numbers and an operation (add, subtract, multiply,
divide) as a string. Return the result of the operation.
15. Write a function that takes a string and returns it reversed.