<分区>
我在规范中找不到它。 我正在使用很多第 3 方 javascript,并希望确保某些部分出现在其他所有部分之上。
<分区>
我在规范中找不到它。 我正在使用很多第 3 方 javascript,并希望确保某些部分出现在其他所有部分之上。
最佳答案
4.3.1 Integers and real numbers
Some value types may have integer values (denoted by ) or real number values (denoted by ). Real numbers and integers are specified in decimal notation only. An consists of one or more digits "0" to "9". A can either be an , or it can be zero or more digits followed by a dot (.) followed by one or more digits. Both integers and real numbers may be preceded by a "-" or "+" to indicate the sign. -0 is equivalent to 0 and is not a negative number.
Note that many properties that allow an integer or real number as a value actually restrict the value to some range, often to a non-negative value.
所以规范不限制范围。我猜 2^31 - 1(带符号的 32 位整数)是大多数实现中的限制。
关于javascript - 最高可能的 z-index 是多少?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/654343/