Avoid calling Object.prototype methods directly on object instances

This commit is contained in:
Daniel García Aubert
2019-10-21 23:33:27 +02:00
parent d89e785440
commit 7a1d2ca205
42 changed files with 166 additions and 166 deletions
+1 -1
View File
@@ -1865,7 +1865,7 @@ describe('aggregation', function () {
const feature = geojsonTile.features[0];
assert.ok(feature.properties.hasOwnProperty('value'), 'Missing value property');
assert.ok(Object.prototype.hasOwnProperty.call(feature.properties, 'value'), 'Missing value property');
done();
});