11 lines
149 B
Coq
11 lines
149 B
Coq
|
|
static b;
|
||
|
|
|
||
|
|
restore() {
|
||
|
|
if(typeof a !== 'object') {
|
||
|
|
throw new Error('Static instance A does not exist!');
|
||
|
|
} else a.fun();
|
||
|
|
}
|
||
|
|
|
||
|
|
fun() {
|
||
|
|
|
||
|
|
}
|