简体   繁体   中英

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? 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

They're internal built-in runtime functions . More info here: https://v8.dev/docs/builtin-functions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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