开发者

Default value for static boolean variable

I'm trying to debug the v8 javascript engine.while debugging i found a instruction "sta开发者_开发问答tic bool has_terminated".Can anyone tell me what is the default value for a "static boolean variable" ?


For a boolean in most languages that allow uninitialized use it's false (unless it's on the stack or heap in which sometimes there's no guarantee).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜