title: Code for Frida to intercept what are the values of arguments passing through the function when it is called in Android
body: <p>Suppose there is a function which is as below :</p>
  <pre><code>public String foo(String str,String str2)
  {
  //some code here
  return str+str2;
  }
  </code></pre>
  <p>What would be the Frida code(<strong>In JavaScript</strong>) to intercept the function get values of both <strong>str</strong> and <strong>str2</strong>?</p>