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
Two methods: