mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
16 lines
208 B
JavaScript
16 lines
208 B
JavaScript
class C extends React.Component {
|
|
state = {
|
|
p: 42
|
|
};
|
|
}
|
|
|
|
React.createClass({
|
|
getInitialState: function() {
|
|
return {
|
|
p: 42
|
|
};
|
|
}
|
|
});
|
|
|
|
//semmle-extractor-options: --experimental
|