Home > Q&A > body text
For example, there is a button that can only be clicked when the first to tenth of each month is not. How to write it more elegantly
ringa_lee2017-06-26 11:00:48
new Date().getDate() > 10
1
<code>new Date().getDate()</code>
<code>
new
Date
().
getDate
()</code>