Search an array of objects
Given an array of marvel heroes write a function that accepts hero alias (string).
The
function should return correponding hero object.
Display the hero object which includes their
secret
identity (name).
If the search cannot find a hero return a blank object and display a message
List of Heroes
[
{Alias: "Ant-Man",Name: "Scott Lang"},
{Alias: "Black Panther", Name: "T'Challa"},
{Alias: "Black Widow", Name: "Natasha Romanoff" },
{Alias: "Captain America", Name: "Steve Rogers" },
{Alias: "Doctor Strange", Name: "Stephen Strange"},
{Alias: "Hawkeye", Name: "Clint Barton"},
{Alias: "Hulk", Name: "Bruce Banner"},
{Alias: "Iron Man", Name: "Tony Stark"},
{Alias: "Power Man", Name: "Luke Cage",},
{Alias: "Moon Knight",Name: "Steven Grant"},
{Alias: "Captain Marvel",Name: "Carol Danvers"},
{Alias: "Scarlet Witch",Name: "Wanda Maximoff"},
{Alias: "Spider-Man",Name: "Peter Parker"},
{Alias: "Thor",Name: "Thor Odinson"},
{Alias: "Wasp",Name: "Janet van Dyne"}
]
Results Go Here