Function getItems not working on mobile?

I have code to getItems like getItems(2,1) to get items starting at index 2 and get 1. This works great on desktop but fails on mobile with error code that getItems is not a function?

can you share your code?

This is the code that works on desktop but does not render at all on mobile.

$w(“#newsdataset”).getItems(2, 1)
.then( (result) => {
let items = result.items;
$w(“#fullWidthSlides1”).slides[0].background.src = items[0].newsImage;
$w(“#slideShowHeadline1”).text = items[0].title;
});
It is the getItems function that renders the error.

OK got it.
will pass it to our QA to verify.
thanks!