....
This commit is contained in:
parent
632f07f72a
commit
5e716f2581
39
src/main/resources/static/js/test.js
Normal file
39
src/main/resources/static/js/test.js
Normal file
@ -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()
|
||||
|
||||
|
||||
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
<script type="text/javascript" th:src="@{/js/blog.js}"></script>
|
||||
<link th:href="@{/css/blog.css}" rel="stylesheet" />
|
||||
<script type="text/javascript" th:src="@{/js/toast-ui-view.js}"></script>
|
||||
<script type="text/javascript" th:src="@{/js/test.js}"></script>
|
||||
<link th:href="@{/css/toast-ui-dark.css}" rel="stylesheet" />
|
||||
<script th:inline="javascript">
|
||||
let editor
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user