Day20 - this&Object Prototypes Ch3 Objects - Review 开头

  1. Object Contents
    • 虽然 Object 的 property 是 key (也就是 name) 与 value 成对出现,但其实只有 property names 是存在 Object 里的,我们透过 property key 去找到对应的 value 真正存在的地方取得该值
      1. property names 永远是 strings 喔
      2. 我们可以透过 .propertyName["propertyName"] 取得对应的 value
    • property name 可以用 computed property name 成形
        var myObjecy = { [Symbol.greeting]: "hello 燃面" }
    

<<:  30-21 之 Domain Layer - Lazy Load ( 未完成 )

>>:  【Day 21】Google Apps Script - API Blueprint 篇 - API Blueprint 介绍

Day 9 任务的形式

今天想发ARM的文章时,居然一直遇到这个画面: 虽然不确定是不是被攻击了,但後来还好可以连上主页了,...

D27. 学习基础C、C++语言

D27. 跳脱字元 跳脱字元指的是脱离原字元的意思,例如 " 原本在C++中是用来当作字串...

Day17_HTML语法14

今天要介绍,当要让使用者输入数字,将< input>元素的type属性设定为"...

[Day18] Tally String Times with Reduce

[Day18] Tally String Times with Reduce 需要用到的技巧与练习目...

【Day 10】穿过 IE 的巴巴 - Hook IE 窃取明文密码

环境 Windows 10 21H1 Visual Studio 2019 IE 11.0.1904...