---
title: 'JavaScript: structuredClone'
description: Modern way to deep clone objects in JavaScript
date: 2023-01-19
published: true
tags:
  - javascript
  - function
---

JavaScript has built-in function called [sctructuredClone](https://developer.mozilla.org/en-US/docs/Web/API/structuredClone) which able to deep clone objects.

References: https://www.builder.io/blog/structured-clone
