Search code examples
javascriptcordovawindows-phone-8.1windows-10-mobile

Differentiate between Windows 8.1 and Windows 10.0 programatically


I want to differentitate between windows 8.1 and windows 10.0 target version programatically.

I'am using cordova, javascript. How do i find the difference, so that i can write functions for 8.1 as well as 10.0


Solution

  • Two methods: