Files
oam/knowledge base/javascript.md
2025-01-06 17:35:54 +01:00

77 lines
1022 B
Markdown

# JavaScript
> TODO
Intro
<!-- Remove this line to uncomment if used
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
<!-- Uncomment if used
<details>
<summary>Setup</summary>
```sh
```
</details>
-->
<!-- Uncomment if used
<details>
<summary>Usage</summary>
```sh
```
</details>
-->
<!-- Uncomment if used
<details>
<summary>Real world use cases</summary>
```sh
```
</details>
-->
```js
let now = new Date()
let oneYearFromNow = new Date()
oneYearFromNow.setDate(oneYearFromNow.getDate() + 365)
console.log(now.toISOString())
console.log(oneYearFromNow.toISOString())
```
## Further readings
- [Playcode]
### Sources
- [Documentation]
<!--
Reference
═╬═Time══
-->
<!-- In-article sections -->
<!-- Knowledge base -->
<!-- Files -->
<!-- Upstream -->
[documentation]: https://developer.mozilla.org/en-US/docs/Web/JavaScript
<!-- Others -->
[playcode]: https://playcode.io/empty_javascript