提交 c9f0b5f5 编写于 作者: A a290914469

Fri Jun 21 17:18:00 CST 2024 inscode

上级 ca207a2f
run = "npm i && npm run dev"
language = "node"
[env]
PATH = "/root/${PROJECT_DIR}/.config/npm/node_global/bin:/root/${PROJECT_DIR}/node_modules/.bin:${PATH}"
XDG_CONFIG_HOME = "/root/.config"
npm_config_prefix = "/root/${PROJECT_DIR}/.config/npm/node_global"
\ No newline at end of file
npm_config_prefix = "/root/${PROJECT_DIR}/.config/npm/node_global"
[debugger]
program = "main.js"
console.log("欢迎来到 InsCode");
\ No newline at end of file
const state = {
a: 1,
setA (count) {
state.a = count
}
};
function run () {
const { a, setA } = state
console.log(state.a)
setA(a + 1)
console.log(state.a)
}
run()
run()
run()
run()
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册