当前位置:网站首页>Guangzhou Huawei Interview Summary
Guangzhou Huawei Interview Summary
2022-08-02 03:38:00 【suzhiwei_boke】
Written questions first
1. The main function of in HTML documents?
Tells the browser's parser what document standard to use to parse this document.
2. Which of the following results is false?Examine == and ===
A.'0' == 0 //true
B.null == undefined //true
C. ' ' == 0 //true
3. Which of the following elements is a block element?Examine inline and block elements
4. Examine JSON.Stringify(obj);JSON.Parse(JSON.stying(obj))
This code const obj = {a:1,b:2}; go through this JSON.stringify(obj);JSON.parse(JSON.stringfy(obj);What is the output after the two processing?
{"a":1,"b":2};{"a":1,"b":2};{a:1,b:2}
5. Examining selector weights
- !important - - - infinity
- Inline style - - - 1000
- id selector - - - 100
- Attributes, pseudo-classes, classname selectors - - - 10
- Tag selector - - - 1
6. Which of the following methods can convert the arguments object to an array?
Array.prototype.slice.apply(arguments)
Array.prototype.concat.apply(thisArg,arguments)
Array.from()
7. What is the data storage method that can only be known by manual operation?
localStorage
8. Which of the following statements about closures is incorrect?
Multiple choice
CSS common browser kernel prefixes: -ms-;-moz-;-webkit-;-o-
Browser kernel:IE browser kernel: Trident kernel; Chrome browser kernel: formerly Webkit kernel, now Blink kernel; Firefox browser kernel: Geckokernel, commonly known as the Firefox kernel;
What is the method of Array and String type data in js?
indexOf() ; slice;concat(); includes()
Two calculation questions
The first thing to look at is deep copying.
The second way is to examine the isosceles triangle.
边栏推荐
- AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'
- SOCKS5
- IndexError: only integers, slices (`:`), ellipsis (`...`), numpy.newaxis (`None`) and integer or boo
- np.unique() function
- C语言 void和void *(无类型指针)
- js 取字符串中某位置某特征的值,如华为(Huawei)=>华为
- subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.
- 啃瓜记录又一天
- npm和package.json
- meime模块
猜你喜欢
PCL—point cloud data segmentation
querystring模块
UserWarning:火炬。meshgrid:在以后的版本中,它将被要求通过索引ing argu
AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
FreeRTOS内核详解(1) —— 临界段保护原理
Cloud server installation and deployment of Nacos 2.0.4 version
C语言 十六进制整数字符串转十进制整数
网址URL
Phospholipid-polyethylene glycol-hydrazide, DSPE-PEG-Hydrazide, DSPE-PEG-HZ, MW: 5000
oracle内连接和外连接
随机推荐
磷脂-聚乙二醇-醛基 DSPE-PEG-Aldehyde DSPE-PEG-CHO MW:5000
docker 安装 sqlserver中的坑点
basic operator
Phospholipid-polyethylene glycol-azide, DSPE-PEG-Azide, DSPE-PEG-N3, MW: 5000
ssm各类配置模板
mysql阶段总结
Debian 10 NTP Service Configuration
SOCKS5
getattr() function analysis
DSPE-PEG-Silane, DSPE-PEG-SIL, phospholipid-polyethylene glycol-silane modified active group
meime模块
错误:with open(txt_path,‘r‘) as f: FileNotFoundError: [Errno 2] No such file or directory:
暴力方法求解(leetcode14)查找字符串数组中的最大公共前缀
PCL—点云数据分割
Problems when yolov5 calls ip camera
利用 nucleo stm32 f767zi 进行USART+DMA+PWM输入模式 CUBE配置
Phospholipid-polyethylene glycol-thiol, DSPE-PEG-Thiol, DSPE-PEG-SH, MW: 5000
猴子选大王
【手把手带你学nRF52832/nRF52840 · (1)开发环境搭建】
【装机】老毛桃的安装及使用