Hello!
I'm currently working on a project involving adding a React component to a page, and I've been tracking down an error that returns `TypeError: undefined value is not an object`.
In the bundled javascript, prince shows the error to occur here:
https://github.com/facebook/react/blob/b1b4a2fb252f26fe10d29ba60d85ff89a85ff3ec/src/renderers/dom/shared/eventPlugins/SimpleEventPlugin.js#L126
Upon inspecting the values, I found that the string `event` has `typeof` `"string"`, but `event[0]` is `undefined`, which causes an error when trying to call `toUpperCase()`.
I'm uncertain whether to classify this as a bug or a feature request, as character access is supposed to be included in ES5 (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#Description)
I'm currently working on a project involving adding a React component to a page, and I've been tracking down an error that returns `TypeError: undefined value is not an object`.
In the bundled javascript, prince shows the error to occur here:
https://github.com/facebook/react/blob/b1b4a2fb252f26fe10d29ba60d85ff89a85ff3ec/src/renderers/dom/shared/eventPlugins/SimpleEventPlugin.js#L126
Upon inspecting the values, I found that the string `event` has `typeof` `"string"`, but `event[0]` is `undefined`, which causes an error when trying to call `toUpperCase()`.
I'm uncertain whether to classify this as a bug or a feature request, as character access is supposed to be included in ES5 (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#Description)