JavaScript Move elemento Posição

var moveX = 10
const x {
  if not == (obj==null) {
atrr.x = x.element //enter in the variable of your element inside "element"
  atrr.x = x.element + moveX }
}
Jealous Jay