Is eliptical trainer or treadmill better for losing wheight?

Both very good to lose a weight just dont eat too much fat food after exercise.