老虎面试
1.http1.0和http2.0 的區別
- http1.0利用文本與服務器進行交互,而http2.0的基本協議單位是二進制幀
- http2.0只建立一次連接,即一輪三次握手,實現多路復用。
- http2.0會壓縮消息頭
- http2.0支持服務器推送數據的功能
2.代碼題
let { a: b, c: d } = { a: 1, b: 2, c: 3, d: 4};console.log(a + c): //error 'a' is not defined 'c' is not definedconsole.log(b): //1console.log(d): //33.手動實現Function.prototype.bind
手動實現Function.prototype.bind
4.用JavaScript實現一個目錄結構
5.用react實現一個模態框(彈窗)
6.sessionStorage的使用情景
7.get請求有請求體嗎?
沒有
8.給cookie設置httponly屬性后,可以通過document.cookie讀嗎?
不可以
總結
- 上一篇: GANs综述
- 下一篇: 物流快递APP开发基础功能