opened
asklar
username_0
if you're passing something like `(L"eval", std::vector&lt;winrt::hstring&gt;{ L"Date.now()" })` this won't work
You have to pass `"Date.now().toString()"` to convert the value to a string on the JS side, otherwise you get back an empty HSTRING.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 15b50e95-d8c9-71f5-2f3c-d2e3d5504000
* Version Independent ID: 90579498-c001-9031-4362-d5ce7dc1a911
* Content: [WebView.InvokeScriptAsync(String, IEnumerable&lt;String&gt;) Method (Windows.UI.Xaml.Controls) - Windows UWP applications](https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.webview.invokescriptasync?view=winrt-18362)
* Content Source: [winrt-api-build/xml/Windows.UI.Xaml.Controls/WebView.xml](https://github.com/MicrosoftDocs/winrt-api/blob/docs/winrt-api-build/xml/Windows.UI.Xaml.Controls/WebView.xml)
* Product: **uwp**
* Technology: **winui**
* GitHub Login: @jwmsft
* Microsoft Alias: **jimwalk**
JavaScript values need to be converted to string in the JS engine
issue