How to return userAgent - with function | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
+ 9

How to return userAgent - with function

document.write (get('userAgent')); function get(it) { return navigator.it; }

14th May 2018, 6:26 PM
Arne Van Kerckvoorde
Arne Van Kerckvoorde - avatar
1 Odpowiedź
+ 4
document.write (get('userAgent')); function get(it) { return navigator[it]; }
14th May 2018, 8:35 PM
Toni Isotalo
Toni Isotalo - avatar