mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
10 lines
264 B
JavaScript
10 lines
264 B
JavaScript
// The corresponding ESLint test case is commented out
|
|
// with the remark "Would be nice to prevent this too"
|
|
var Hello = React.createClass({
|
|
render: function() {
|
|
var that = this;
|
|
that.state.person.name.first = "bar"
|
|
return <div>Hello</div>;
|
|
}
|
|
});
|