<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<h3>ํ์๋ฆฌํ ๋ด์ฅ๊ฐ์ฒด ์ฌ์ฉ๋ฐฉ๋ฒ</h3>
๋ฐฐ์ด์ ๊ธธ์ด
[[${ #arrays.length(arr) }]]
<br>
๋ฆฌ์คํธ์ ๊ธธ์ด
[[${ #lists.size(list) }]]
<br>
๋น๋ฆฌ์คํธ ํ์ธ
[[${ #lists.isEmpty(list) }]]
<br>
[[${now}]]
<br>
[[${ #dates.format(now, 'yyyy-MM-dd') }]]
<h3>์๋ฐ์คํฌ๋ฆฝํธ๋ก ๊ฐ ๋ฐ๊ธฐ</h3>
<script th:inline="javascript">
var name = '[[${name}]]';
var arr = '[[${arr}]]';
var vo = '[[${vo}]]';
console.log(name);
console.log(arr);
console.log(vo);
console.log( JSON.parse(vo) );
</script>
</body>
</html>