博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
使用JavaScript中的示例编号MAX_VALUE属性
阅读量:2528 次
发布时间:2019-05-11

本文共 696 字,大约阅读时间需要 2 分钟。

数字MAX_VALUE属性 (Number MAX_VALUE Property)

MAX_VALUE Property is a Number property in JavaScript and it is used to get the maximum value of a number that is possible in JavaScript.

MAX_VALUE属性是JavaScript中的Number属性,用于获取JavaScript中可能的数字最大值。

Syntax:

句法:

Number.MAX_VALUE;

Note: MAX_VALUE property is called with the "Number", we cannot use this property with a variable. If we use MAX_VALUE with a variable – it returns "undefined".

注意: MAX_VALUE属性“ Number”调用,我们不能将此属性与变量一起使用。 如果我们将MAX_VALUE与变量一起使用–它返回“ undefined”

Examples:

例子:

Input:     Number.MAX_VALUE    Output:    1.7976931348623157e+308

Code:

码:

JavaScipt Example

Output

输出量

Max. Value: 1.7976931348623157e+308num.MAX_VALUE: undefined

翻译自:

转载地址:http://xbazd.baihongyu.com/

你可能感兴趣的文章
c++中捕捉内存泄露、异常
查看>>
DOM笔记2
查看>>
ZOJ 2412 Farm Irrigation(DFS 条件通讯块)
查看>>
Apple Watch视频教程(连载)
查看>>
通过WriteProcessMemory改写进程的内存
查看>>
How Clang handles the type / variable name ambiguity of C/C++
查看>>
初学者浅度剖析eShopOnContainers 里面用到的MediatR .
查看>>
flot中文详解
查看>>
Spark API编程动手实战-08-基于IDEA使用Spark API开发Spark程序-01
查看>>
2014年10月27日
查看>>
转  表空间占用
查看>>
ubuntu下jdk环境变量的设置
查看>>
honeywell1900扫描枪的使用说明
查看>>
MySQL目录结构和简单指令
查看>>
网络编程应用:基于TCP协议【实现文件上传】--练习
查看>>
Func<T, TResult> Delegate
查看>>
Base64编码与解码
查看>>
win下编译ffmpeg库,Compile and build ffmpeg library and dll on Windows x64( 正版)
查看>>
使用 Mailgun 实现 带附件的Email 发送功能
查看>>
哈希索引
查看>>