Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initialize: function (options) {
FeatureLayerService.prototype.initialize.call(this, options);
if (typeof this.options.searchFields === 'string') {
this.options.searchFields = [this.options.searchFields];
}
this._suggestionsQuery = this.query();
this._resultsQuery = this.query();
},