6de2455917
- Added GLOBAL_MARKETS_TITLE to all translation files - Updated footer with 12 markets (4 active + 8 upcoming) - Translated market section to: zh-cn, zh-tw, ja, ko, th, vi, id, ms, hi - Built and deployed to production - CloudFront invalidation: I3RTMXVFDJXWLG3SYX208OP1CC
15 lines
245 B
JavaScript
15 lines
245 B
JavaScript
var undefsafe = require('undefsafe');
|
|
|
|
var object = {
|
|
a: {
|
|
b: {
|
|
c: 1,
|
|
d: [1, 2, 3],
|
|
e: 'remy'
|
|
}
|
|
}
|
|
};
|
|
|
|
console.log(undefsafe(object, 'a.b.e')); // "remy"
|
|
console.log(undefsafe(object, 'a.b.not.found')); // undefined
|