Execute javascript using winappdriver not executing javascript

I Tried to execute java script using winappdriver with appium 1.6.4 but appium shows command not Implemented result.
Please update if anybody have tried this.

@DK add your code to understand

i am executing alert(‘Hi’) but it is not executing.

@DK just realized that it “appium-windows-driver”. it is quite new. never tried…