This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
vogue/examples/test/a.v

11 lines
177 B
Coq
Raw Normal View History

2021-05-25 00:08:36 -04:00
static a;
restore() {
if(typeof b !== 'object') {
throw new Error('Static instance A does not exist!');
} else b.fun();
}
fun() {
console.log('hello from A');
}