title: How to execute JavaScript function with C# in UWP without WebView
body: <p>let's assume we have a *.js file includeded in our C# UWP App project and we want to be able to execute function included in this file.</p>
  
  <p>sample JS function:</p>
  
  <pre><code>function myFunction(p1, p2) {
  return p1 * p2;              // The function returns the product of p1 and p2
  </code></pre>
  
  <p>}</p>
  
  <p>sample C# code:</p>
  
  <pre><code>public class SampleObject
  {
      public SampleObject(int a, int b)
      {
          var evaluated = &lt;&lt;&lt; do some magic and get myFuction(a,b) here &gt;&gt;&gt;
      }
  }
  </code></pre>
  
  <p>Is there any way other that keeping some dummy WebView with our JS loaded and calling myFunction from it?
  I've read about Chakra that looks like something that should do the trick, but I don't know how to use it the way I want. Any few-lines sample?</p>