how to get details nested object which is array is nested with object in javaScript
Clash Royale CLAN TAG #URR8PPP how to get details nested object which is array is nested with object in javaScript var pokemonName = window.prompt("Enter the pokemon details") var pokemon = [{ "id": 1, "num": "001", "name": "Bulbasaur", "img": "http://www.serebii.net/pokemongo/pokemon/001.png", "type": [ "Grass", "Poison" ], "height": "0.71 m", "weight": "6.9 kg", "candy": "Bulbasaur Candy", "candy_count": 25, "egg": "2 km", "spawn_chance": 0.69, "avg_spawns": 69, "spawn_time": "20:00", "multipliers": [1.58], "weaknesses": [ "Fire", "Ice", "Flying", "Psychic" ], "next_...