mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
QL code and tests for C#/C++/JavaScript.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class MyComponent extends React.Component {
|
||||
|
||||
constructor(props) {
|
||||
super(props)
|
||||
this.setState({
|
||||
counter: 0
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
render() {
|
||||
return <div>{this.state.counter}</div>
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user