refactor(javascript): own property capture translation

This commit is contained in:
morluto committed 2026-10-22 08:52:56 +08:00
1 parent adfde012ec
commit 247c8f4eab
5 files changed
+42 -34

No files matched your search

@@ -33,6 +33,10 @@ it.each([
'const { app } = require("electron"); const runtime = app; runtime.setAppPath("./other");',
true,
],
[
'const { app } = require("electron"); const copy = { ...{ app } }; copy.app.setAppPath("./other");',
true,
],
[
'const { app } = require("electron"); const change = app.setAppPath; change("./other");',
true,