Web Module doesn't work.

I tried the example on " https://support.wix.com/en/article/corvid-web-modules-calling-server-side-code-from-the-front-end "

I called multiply method, But I get the error “Uncaught ReferenceError: elementorySupport is not defined”.

Please show me the solution.
Thank you.

test.jsw

export function multiply(factor1, factor2) {
 return factor1 * factor2;
}

test.jsw in Browser

Object.defineProperty(exports, '__esModule', {value: true})

exports.multiply = function multiply() {
  
  return elementorySupport.getJSON('/backend/test.jsw/multiply.ajax', arguments);
  
}

wix-default-custom-element.js

classTestElement extends HTMLElement {
  constructor() {
 super();
    console.log(DEBUG_TEXT);
  }

  connectedCallback() {
    multiply(4,5).then(product => {
       ....
    });
  }
}

You say that you tried the example from the link, but you don’t have the same code. You are getting an error because, as the error states, elementorySupport is not defined. Web Module works when you have the correct code.

I’m running into the same problem.
I have a custom element which imports a backend function (jsw).
This backend function currently does nothing other than return true.
When I call the function I get: website-functions.jsw:2 Uncaught ReferenceError: elementorySupport is not defined
at t.I (website-functions.jsw:2)
at HTMLElement.value (image-slider.js:181)
at HTMLInputElement. (image-slider.js:150)

Just found yet another limitation by wix: