当前位置:网站首页>1. Typeof view variable type?
1. Typeof view variable type?
2022-07-24 18:21:00 【yingxingyf】
1.typeof There are seven types of return values for :
number, boolean, string, undefined, object, function,symbol.
1、number
typeof(10);
typeof(NaN);
//NaN stay JavaScript Represents a special non numeric value , It is itself a numeric type .
typeof(Infinity);
2、boolean
typeof(true);
typeof(false);
3、string
typeof("abc");
4、undefined
typeof(undefined);
typeof(a);// Variables that don't exist
5、object
object , Array ,null return object
typeof(null);
typeof([]);
typeof({
});
typeof(window);
6、function
typeof(Array);
typeof(Date);
7、symbol
typeof Symbol() // ES6 New types of offers
边栏推荐
- How to follow the "low coupling" design principle?
- Array object methods commonly used traversal methods & higher-order functions
- 空间三点画圆代码
- Polymorphism, abstract class, interface
- [OBS] dependency Library: x264 vs Build
- Maximum sum and promotion of continuous subarrays (2)
- Alibaba /1688 API instructions for searching products by map (pailitao)
- Flink operation Hudi data table
- jmeter -- prometheus+grafana服务器性能可视化
- The 5th Digital China Construction summit opened in Fuzhou, Fujian
猜你喜欢

根证书的有效期与服务器SSL证书一样长吗?

Shanghai Jiaotong University team used joint deep learning to optimize metabonomics research

05mysql lock analysis

About the writing method of interface 1 chain interpretation 2. Method execution (finally) must be executed

6126. Design food scoring system

如何用WebGPU流畅渲染百万级2D物体?

Pycharm configuring opencv Library

How to solve the problem that yaml in idea is unrecognized or red?

Three ways of redis cluster

redis集群的三种方式
随机推荐
Model saving and loading of sklearn
颜色的13 个必备方法!
第五届数字中国建设峰会在福建福州开幕
Has polardb for PostgreSQL entered the list of Xinchuang database?
undefined reference to H5PTopen
Baidu touch.js
Pytorch的旅程一:线性模型
Bib | mol2context vec: context aware deep network model learning molecular representation for drug discovery
Introduction and use of Pinia
如何为超级通胀做好准备
Pytorch的旅程二:梯度下降
ES6 cycle filter value
【校验】只能输入数字(正负数)
0612~quartz timer frame
BOM understanding in odoo
Int8 & int8, have you ever stumbled like this?
0615 ~ realize RBAC permission management with user-defined annotations
Win10 super good-looking mouse theme, you also try it
数组对象方法 常用遍历方法&高阶函数
File upload vulnerability -.User.ini and.Htaccess