function calls with ?. throw TypeError
losas opened this issue · comments
Yuwen Shen commented
Related to #350
console.log(adventurer.someNonExistentMethod?.());
/*
expected output: undefined
goja:
panic: TypeError: Object has no member 'someNonExistentMethod' at ...
*/
Dmitry Panov commented
Thanks for reporting!