deep-clone-and-serialize
Version:
Deep clone and/or serialize almost any JavaScript object tree (Map/Set, RegExp, DataView, etc.) while preserving circular references.
20 lines (17 loc) • 369 B
HTML
<html>
<head>
<meta charset="utf-8">
<title>Mocha Tests</title>
<link href="mocha.css" rel="stylesheet" />
</head>
<body>
<div id="mocha"></div>
<script src="mocha.js"></script>
<script>mocha.setup('bdd')</script>
<script src='test_build.js'></script>
<script>
mocha.checkLeaks();
mocha.run();
</script>
</body>
</html>