简体   繁体   English

JavaScript源代码中的%函数是什么?

[英]What are the %functions in JavaScript source code?

Looking through the promise code in v8 source code, I noticed a lot of functions that starts with %, what are those? 通过v8源代码中的promise代码,我注意到很多以%开头的函数,那些是什么? do they have any special meaning? 他们有什么特别的意义吗?

example here https://chromium.googlesource.com/v8/v8/+/3.29.45/src/promise.js?autodive=0%2F like %DebugPushPromise 这里的例子https://chromium.googlesource.com/v8/v8/+/3.29.45/src/promise.js?autodive=0%2F喜欢%DebugPushPromise

They're internal built-in runtime functions . 它们是内置的内置运行时函数 More info here: https://v8.dev/docs/builtin-functions 更多信息: https//v8.dev/docs/builtin-functions

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM