undefined key throws
未关闭
question
- 主要语言
- JavaScript
- 星标
- 1.3k
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
描述
From the readme:
```
//undefined obj or key returns undefined, unless a default is supplied
delve(undefined, 'a.b.c') === undefined;
delve(undefined, 'a.b.c', 'foo') === 'foo';
delve(obj, undefined, 'foo') === 'foo';
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with the README examples and the dlv function entry point to reproduce the undefined-key case. Make the behavior match the documented default-value examples, then run the existing test suite; the payload does not name a specific test file.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100