+ 1

what does [native code]mean in js?

I was checking all the properties of window object, and I found all the window methods to be function(){[native code]} what does native code mean here? is it possible to see it? https://code.sololearn.com/W79R136QRb8a/?ref=app

5th Dec 2021, 4:55 PM
ļ¼”ļ¼£ļ¼„
ļ¼”ļ¼£ļ¼„ - avatar
2 Answers
+ 5
the WebKit and Firefox developers have coded up that functionality in C or C++, not JavaScript.Ā  https://stackoverflow.com/questions/11234664/what-does-native-code-mean ViewVC Repository Listing https://src.chromium.org/viewvc
5th Dec 2021, 5:03 PM
Pariket Thakur
Pariket Thakur - avatar
+ 2
Native code means it is not written in js but maybe in c or c++ I would search for this function in google. Maybe this article helps you: https://stackoverflow.com/questions/9103336/how-can-i-read-native-code-javascript-functions/9103381
5th Dec 2021, 5:08 PM
Denise RoƟberg
Denise RoƟberg - avatar