title: VueJs this.method is not a function? How to call a method inside another method in Vuejs?
body: <p>I'm trying to call a method from another method and for this I've used this. But my console is causing me an error.</p>
  
  <p>How to call a method inside another method in Vuejs?</p>
  
  <h1>code</h1>
  
  <pre><code> methods: {
       searchLocations: function() {
           var address = this.search
           var geocoder = new window.google.maps.Geocoder()
           geocoder.geocode({
               address: address
           }, function(results, status) {
               if (status === window.google.maps.GeocoderStatus.OK) {
                   this.buscarLojas(results[0].geometry.location)
               }
           })
       },
       buscarLojas: function(center) {
           console.log(center)
       }
   }
  </code></pre>
  
  <h1>console:</h1>
  
  <blockquote>
    <p>this.buscarLojas is not a function</p>
  </blockquote>