From 14552e0c2c060c71e1178178338c068443b751b9 Mon Sep 17 00:00:00 2001 From: Migllopes <87397044+Migllopes@users.noreply.github.com> Date: Tue, 10 Aug 2021 20:29:39 +0100 Subject: [PATCH] Update Pokedex.swift --- 9-classes/pokedex/Pokedex.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/9-classes/pokedex/Pokedex.swift b/9-classes/pokedex/Pokedex.swift index 9d7ad17..68c67a5 100644 --- a/9-classes/pokedex/Pokedex.swift +++ b/9-classes/pokedex/Pokedex.swift @@ -4,7 +4,7 @@ class Pokemon { var num = 0 var name = "" var type = [""] - var ability: [""] + var ability = [""] init(num: Int, name: String, type: [String], ability: [String]) { self.num = num