Langkau ke kandungan utama

Catatan

Tunjukkan catatan dari Mac, 2019

Ruby sort_by dan uniq

Assalamualaikum Katakan kita ada satu array students [ [0] { :id => 1, :staff_no => "A2123", :name => "Ahmad Aaron", :phone => "2932-233-3333", :registered_at => "2019-12-11 12:22:22" }, [1] { :id => 2, :staff_no => "A2123", :name => "Bustaman Baharun", :phone => "1223-231-2222", :registered_at => "2019-11-21 12:22:22" }, [2] { :id => 3, :staff_no => "A3123", :name => "Charlie Chaplin", :phone => "4554-344-5554", :registered_at => "2018-02-16 12:22:22" }, [3] { :id => 4, :staff_no => "A2523", :name => "D...