At present I am using v8 version below for my windows: com.eclipsesource.j2v8:j2v8_win32_x86_64:4.6.0.
I want to return Big integer but looks like this version does not support Big Int. return {'result' : BigInt('893800399029639267')}; This does not return anything.
Other options like below also does not work: const value = 893800399029639267n This gives error.
Kindly suggest, how can I return BigInt?
BigInt was introduced in 6.7 my dude.
It looks like you're on 4.6
https://v8.dev/blog/v8-release-67