From f631665a40ecf22258fd2d0d9b2e115ca4dd08bd Mon Sep 17 00:00:00 2001 From: Marak Date: Sun, 28 Oct 2018 15:15:51 -0400 Subject: [api] [minor] Remove reference to `this` --- lib/address.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/address.js b/lib/address.js index e82d5d72..6ac5f9b9 100644 --- a/lib/address.js +++ b/lib/address.js @@ -360,7 +360,7 @@ function Address (faker) { // If there is no coordinate, the best we can do is return a random GPS coordinate. if (coordinate === undefined) { - return [this.latitude(), this.longitude()] + return [faker.address.latitude(), faker.address.longitude()] } radius = radius || 10.0; isMetric = isMetric || false; -- cgit v1.2.3