#173
New
check for defaults
Reported by Volkan Ozcelik on JavaScript: from Zero to Hero · 14/07/2018 06:51:31
- Assigned to:
- Volkan Ozcelik
- Priority:
- Normal
- Status:
- New
- Category:
- Defensive Coding
- Version:
- None
const dataAlias = data.Item.alias.S || data.Item.fullName.S;
If no alias use full name.
use default values for other stuff whenever possible.
Attachments
No attachment has been uploaded, yet.
Loading comments...