[Proof Code] Issue of Safari ES5 strict mode and Object.defineProperty() with a named setter function
- On iOS 9.3.2 Safari, it seems that Object.defineProperty() including a named setter function with a same named argument causes something problem in the ES5 strict mode.
- And then, JavaScript in this strict mode scope dose not work, but any error or exception not be thrown.
- If 'use strict'; line in the script is removed, this problem dose not occurre.
- Other browsers(Chrome, Firefox) and Node.js do not have this issue.
- main.js ... main code to causes this issue
- result.html ... HTML to run main code and show its result in this
JavaScript dose not work, and nothing shown.
Island
Another island