I would like to write JavaScript functions that can be directly used in the calculation column of geopoint and geoshape, as follows:

/*
* JavaScript functions for Survey123
*/
function getGeoPoint() {
// Add your code here
return "1.0000 2.00000";
}
function getGeoShape() {
// Add your code here
return "0.0000 0.00000;0.1000 0.00000;0.1000 0.10000; 0.0000 0.10000";
}
However, the above JavaScript functions do not work and return the following error:

It seems that the expected output is not some space-separated values of latitude and longitude. What are the correct output from a JavaScript functions that can be directly used by geopoint and geoshape? I can't find such documentations.