(key)
| 23 | const api = { |
| 24 | settings: { |
| 25 | get(key) { |
| 26 | if (typeof init.settings[key] === 'undefined') throw key+' option not set'; |
| 27 | return init.settings[key]; |
| 28 | }, |
| 29 | set(key, value) { |
| 30 | init.settings[key] = value; |
| 31 | }, |
nothing calls this directly
no outgoing calls
no test coverage detected