- 1
What is the value of x after the following code?
right ans is 16
2 ответов
+ 5
Kindly share the code.
0
let x = 0;
class Test extends React.Component {
componentDidMount() {
x+=3;
}
render() {
return null;
}
}