28 道 JavaScript 面試題,看看能錯幾道?

(給前端大全加星標,提高前端技能)javascript 做者:code祕密花園 公號 / ConardLi前端 75. 下面代碼輸出什麼?java const box = { x: 10, y: 20 }; Object.freeze(box); const shape = box; shape.x = 100; console.log(shape) A: {x:100,y:20}web
相關文章
相關標籤/搜索