Is there a way to find out what version of Moment.js is being used? Moment.js
Simply use moment.version. It seems that this property is not mentioned in the docs page, but it is quite easy to get it looking at library code on github.
Here a live example:
console.log(moment.version)
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.18.1/moment.min.js"></script>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With