When I try to delete a value from array and map with same array object its not working getting error undefined method 'delete'.
test = ["ab","cd","ef"] test.map.delete("ab")
NoMethodError (undefined method `delete' for #)
Aucun commentaire:
Enregistrer un commentaire