Comes with a ten foot cord. Works fine( see photos)

Has a hook for hanging, electrician’s tape on cable( see photo) indicating possible repair, insulation wear of cable.