@bwprado like that? It does not add the comma
const startCounter = () => {
let count = 0 //start time
const endTime = 10000 // end time
const interval = 1 // interval between counts ms
const counter = setInterval (() => {
$w ( ‘#text37’ ). text = String ( count ). toLocaleString () // update text
count === endTime && clearInterval ( counter ) // clears the interval when count is equal to endTime
count ++ // increment count
}, interval )
}
$w . onReady (() => {
$w ( ‘#text37’ ). onViewportEnter ( startCounter )
})