Please tell me that this gif shows you a wrongful result. (call-stack explanation) JS snippet included

1_E3zTWtEOiDWw7d0n7Vp-mA

the correct result should be 100 right?

That returns 28 part is according to where??? should be 100 right?

Yeah, it should be 100. I don’t know where the 28 came from.

2 Likes

thanks! :sunny: asdasd

Someone takes all the trouble to make that gif but does not even know what (s)he is doing. Strange.

I think it’s that online tool that runs a piece of code and shows the stack trace at the same time. I don’t know what it’s called though.

So this is the output of some automated tool? Terrible.
That flickering effect is totally destructive, serves no useful purpose other than probably indulging the whims of some graphics designer/animator.