I'm very new to Javascript world. Just curious to know that how to run the below command in javascript function and display in alert box.
ipconfig
I'm not trying it for any real world application. Just wanna know is that possible and how does it work internally.
Expected:
<script>
function showAlert(){
alert(ipconfig);
console.log(ipconfig); // For object
}
</script>
It's purely for my understanding and If it's not possible then how webRTC is enabling the user to get the same details?