As with many things, there are LED lamps, and then there are LED lamps!
In this case two fairly distinct types, ones in which a resistor is limiting the current flowing through the actual LED, and ones which limit the current electronically.
The resistor type are cheaper, less efficient, run...