function updateClocks() {
    let clocks = document.getElementsByClassName("clock_cell");

    // '[]' is used here as slang for 'Array.prototype'. Allows the calling of array functions on non-array collections
    [].forEach.call(clocks, (x) => {
        x.innerHTML = timeFromZone(x.dataset.timezone);
    })
}
// function to update the clocks. use with the setInterval function
function to update the clocks. use with the setInterval function
function to update the clocks . use with the setInterval function
function updateClocks() {
    let clocks = document.getElementsByClassName("clock_cell");
    [].forEach.call(clocks, (x) => {
        x.innerHTML = timeFromZone(x.dataset.timezone);
    })
}
function updateClocks ( ) { let clocks = document . getElementsByClassName ( "clock_cell" ) ; [ ] . forEach . call ( clocks , ( x ) => { x . innerHTML = timeFromZone ( x . dataset . timezone ) ; } ) }
function to update the clocks.
function to update the clocks .
// '[]' is used here as slang for 'Array.prototype'. Allows the calling of array functions on non-array collections