Deprecating old approach

This commit is contained in:
2026-06-11 08:07:38 +08:00
parent 15badfeabe
commit 1a38577817
51 changed files with 1716 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
/** @define {boolean} */
var DEBUG = false;
function internalNameThatShouldDisappear(name) {
if (DEBUG) {
console.log('debug mode');
}
return 'hello ' + name;
}
window.demoHello = function(name) {
return internalNameThatShouldDisappear(name);
};