JavaScript 中的 Number.NEGATIVE_INFINITY
htmljavascriptprogramming scripts更新于 2024/10/13 1:48:17
Number 对象的 Number.NEGATIVE_INFINITY 属性表示负无穷大值。
语法
其语法如下
Number.NEGATIVE_INFINITY
示例
<html>
<head>
<title>JavaScript 示例</title>
</head>
<body>
<script type="text/javascript">
var result = Number.NEGATIVE_INFINITY;
document.write("Negative infinity value: " + result);
</script>
</body>
</html>
输出
Negative infinity value: -Infinity
相关文章
有用资源
html 参考教程 - 该教程包含有关 html 的更多信息:https://www.cainiaomax.com/html/

