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
相关文章
相关标签/搜索