Rinas Blogs
Home
Articles
Pages
Home
Articles
Pages
Home
/
Articles
/
TIL we can do `array1 | array 2` to merge them and get unique ones
TIL we can do `array1 | array 2` to merge them and get unique ones
Published on January 26, 2024
irb(main):001> ["a", "b"] | ["b", "c"] => ["a", "b", "c"]