How can you attempt to access the property <code>a.b</code> on <code>obj</code> without throwing an error if a is undefined? <pre><code>let obj = {};</code></pre> | JR Academy

How can you attempt to access the property <code>a.b</code> on <code>obj</code> without throwing an error if a is undefined? <pre><code>let obj = {};</code></pre>

难度: medium

标签: JavaScript

登录后查看完整答案