How do I put the information from the database into javascript?

I am giving the information coming from the database to the screen with the following command.

<td ><asp:Label ID="Label24" runat="server" 
Text=":&nbsp;&nbsp;&nbsp;"><%#Eval("Latitude") %>'  <%#Eval("Longtitude") %>' </asp:Label>

and this way I get results. Coordinate : 38,5225983' 27,0441333'

I have the values of Latitude and Longitude from this

// [START maps_streetview_controls]
function initPano() {
  // Note: constructed panorama objects have visible: true
  // set by default.
  const panorama = new google.maps.StreetViewPanorama(
      position: { lat: X, lng: Y },
      addressControlOptions: {
        position: google.maps.ControlPosition.BOTTOM_CENTER,
      linksControl: false,
      panControl: false,
      enableCloseButton: false,
// [END maps_streetview_controls]

How do I put these incoming Latitude and Longitude values to X and Y below. Note: Incoming data ',' but with comma. ' I have to put it as a point.