This is not true. I actually requested this function in the error tracker some time ago, but I cannot find it. IIRC, this is due to the fact that you will need to run the code inside a certain isolate, which is currently not possible. In javascript, everything is global, so there is a fundamental difference.
source share