From 5e716f2581e369b4e5e6f3bc7dbe511755faee84 Mon Sep 17 00:00:00 2001 From: lunaticbum Date: Thu, 23 Jan 2025 17:18:23 +0900 Subject: [PATCH] .... --- src/main/resources/static/js/test.js | 39 +++++++++++++++++++ .../resources/templates/content/home.html | 1 + 2 files changed, 40 insertions(+) create mode 100644 src/main/resources/static/js/test.js diff --git a/src/main/resources/static/js/test.js b/src/main/resources/static/js/test.js new file mode 100644 index 0000000..d571fd9 --- /dev/null +++ b/src/main/resources/static/js/test.js @@ -0,0 +1,39 @@ + +var stock = [] +function dd(... args) { + stock.push(args) + console.log("DD " + args) +} + + +function log() { + if (stock.length > 0) { + var fff = stock.pop() + f(fff) + } +} + +function f(a,b,c) { + console.log("TEST" , arguments.callee.toString().split("{")[0].split(",").length) + console.log(arguments.callee) + if(a.length > 0) { + console.log(a.length) + c = a[2] + b = a[1] + a = a[0] + } else { + console.log(arguments.length) + } +console.log("a = " + a) + console.log("b = " + b ) + console.log("c = " + c ) +} +var ffff= + + +dd("d","44","4545") +log() + + + + diff --git a/src/main/resources/templates/content/home.html b/src/main/resources/templates/content/home.html index c99ff08..3c0ba97 100644 --- a/src/main/resources/templates/content/home.html +++ b/src/main/resources/templates/content/home.html @@ -7,6 +7,7 @@ +