JSFiddle - React, Tailwind, and code Playground

HTML

<script
      src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDlaSTkzySZoTYbPu0_kemhOrT3FS29Vic&libraries=geometry">
    </script>

JavaScript

function check () {
alert(google.maps.LatLng(-34, 151));
}
check();