当前位置:网站首页>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.
边栏推荐
- subprocess.CalledProcessError: Command 'pip install 'thop'' returned non-zero exit status 1.
- How to check whether a table is locked in mysql
- SOCKS5
- 磷脂-聚乙二醇-醛基 DSPE-PEG-Aldehyde DSPE-PEG-CHO MW:5000
- URL module
- 利用 nucleo stm32 f767zi 进行USART+DMA+PWM输入模式 CUBE配置
- DSPE-PEG-Silane, DSPE-PEG-SIL, phospholipid-polyethylene glycol-silane modified active group
- require modular syntax
- Source Insight 使用教程(2)——常用功能
- display,visibility,opacity
猜你喜欢

require模块化语法

Chapter 10 Clustering

我的小笔记 =》其他东东

我的小笔记 =》原生微信小程序

啃瓜记录又一天

URL module

ThunderBirde无法登录问题、pycharm调试一直收集数据、RuntimeError: CUDA error: device-side assert triggered等疑难杂症解决

小程序 van-cell 换行能左对齐问题

AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘

解决glob()返回文件排序不一致问题&onnx本地按照安装方法
随机推荐
js 取字符串中某位置某特征的值,如华为(Huawei)=>华为
subprocess.CalledProcessError: Command ‘pip install ‘thop‘‘ returned non-zero exit status 1.
cross-domain problem solving
[Mianjing] Mihayou data development on one side and two sides
mysql中exists的用法详解
Error: with open(txt_path,'r') as f: FileNotFoundError: [Errno 2] No such file or directory:
错误:with open(txt_path,‘r‘) as f: FileNotFoundError: [Errno 2] No such file or directory:
配置mmdet来训练Swin-Transformer之一配置环境
querystring模块
页面加载流程
npm和package.json
每天填坑,精卫填坑第二集,TX1 配置从固态启动,安装Pytorch
Deveco studio 鸿蒙app访问网络详细过程(js)
排序学习笔记(二)堆排序
meime模块
npm--package.json---require
Source Insight 使用教程(2)——常用功能
动态代理工具类
js 数组去重的常用方法
云服务器安装部署Nacos2.0.4版本