On Wed, Nov 11, 2020 at 9:26 PM Bit Cortex <bitcor...@gmail.com> wrote:
>
> Hello!
>
> Could someone describe the purpose of the line and column offset properties 
> of v8::ScriptOrigin? What effect do nonzero values have?
>
> Thanks!

I believe they're intended to offset IIFEs[1] and other wrappers that
embedders may want to add around the user's script code.

[https://en.wikipedia.org/wiki/Immediately-invoked_function_expression]

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/CAHQurc_LRMLRc4Pg2h-OvF%3D_REN8Ua8ws5qMUzbraNRhxhLkCA%40mail.gmail.com.

Reply via email to