Here we could do,
```
js

var periodOverwrite = Object.create(defaultPeriodSymbol, {
  value: overwrites['.'],
  keyCode: overwrites['.'].charCodeAt(0)
});
```