silverwolf-x's picture
download
raw
478 Bytes
'use cache'
// not exported!
async function a() {
// this is allowed here
this.foo()
// arguments is allowed here
console.log(arguments)
const b = async () => {
'use server'
// this is not allowed here
this.foo()
// arguments is not allowed here
console.log(arguments)
}
}
export const obj = {
foo() {
return 42
},
bar() {
// this is allowed here
this.foo()
// arguments is allowed here
console.log(arguments)
},
}

Xet Storage Details

Size:
478 Bytes
·
Xet hash:
e236dc31f46321943130de63c6ec84564571b9f78a6f4bd34c3089d8b1cffffa

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.