function _createMaskOpening() {
  const element = document.createElementNS(svgNS, 'rect');

  _setAttributes(element, {
    fill: '#000000',
    id: elementIds.modalOverlayMaskOpening
  });

  return element;
}
function _createMaskOpening() {
  const element = document.createElementNS(svgNS, 'rect');

  _setAttributes(element, {
    fill: '#000000',
    id: elementIds.modalOverlayMaskOpening
  });

  return element;
}
function _createMaskOpening ( ) { const element = document . createElementNS ( svgNS , 'rect' ) ; _setAttributes ( element , { fill : '#000000' , id : elementIds . modalOverlayMaskOpening } ) ; return element ; }
<rect id="shepherdModalMaskOpening" fill="#000000"/>
<rect id = shepherdModalMaskOpening fill = #000000 / >
Create mask opening element