title: Converting a Javascript array to a Java array
body: <p>I'm trying to convert a Javascript array in Java to a Java array. I'm using the javax.script package.
  I tested this example here, but the type "NativeArray" was not recognized: <a href="https://stackoverflow.com/a/1433489/975097">https://stackoverflow.com/a/1433489/975097</a></p>
  
  <p>How can I get the NativeArray type to be recognized?</p>