Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Semporia/Scripts
/ writeFile
Function
writeFile
jd_joy_reward_new.js:778–784 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
776
}
777
778
function
writeFile(text) {
779
if
($.isNode()) {
780
const
fs = require(
'fs'
);
781
fs.writeFile(
'a.json'
, text, () => {
782
})
783
}
784
}
785
786
// prettier-ignore
787
function
Env(t, e) {
Callers
nothing calls this directly
Calls
1
isNode
Method · 0.45
Tested by
no test coverage detected