# ContextJS



- [Tests](browse://src/client/ContextJS/tests/Layers-test.js)
- [Source](browse://src/client/ContextJS/src/Layers.js)

<script>
<button click={
  async () => {
    var runner = await lively.openComponentInWindow("lively-testrunner")
    await lively.sleep(1)
    runner.get("#testDir").value = "/src/client/ContextJS/tests/"
    runner.onRunButton()
  }
}>run tests</button>
</script>



## Design Issues

- ContextJS cannot refine functions #TODO
- ContextJS cannot refine JavaScript constructors, fallback to initialize methods #Workaround
