🌈 搜索
📅  最后修改于: 2022-03-11 14:59:48.694000             🧑  作者: Mango
a = ["a", "b", "b", "b", "c"] a.delete("b") # => "b" a # => ["a", "c"] a.delete("x") # => nil a # => ["a", "c"]