/* GPS2Country(longitude, latitude); */ console.log(GPS2Country(20.17879744, 44.878731593)); /*If last line ({}) replaced with ({}, YourObject)*/ console.log(YourObject.GPS2Country(20.17879744, 44.878731593));
info at jsclasses dot org