title: Return from method in each - vuejs
body: <p>Following continues the each even when I hit the line with return. How do you return from a method from inside an $.each?</p>
  
  <pre><code>removeFromArray: function (text, arr) {
          $.each(arr, function (value, key) {
              if (key.text == text) {
                  arr.splice(value, 1);
                  return;
              }
          });
      } 
  </code></pre>