6 lines
222 B
JavaScript
6 lines
222 B
JavaScript
|
WA.onInit().then(async () => {
|
||
|
console.log('Trying to set variable "myvar". This should work, even if the cache was busted.');
|
||
|
await WA.state.saveVariable('myvar', {'foo': 'bar'});
|
||
|
console.log('SUCCESS!');
|
||
|
});
|