Handle situation where defineProperty does not exist
Replace length property when incompatible