Fix tags for post

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2024-05-16 12:43:34 +02:00
parent 1d4ff95891
commit fc73065a93
@@ -1,7 +1,7 @@
---
title: "Fast Shallow-Cloning of an Array in JavaScript"
category: [ "Benchmark" ]
tags: ["JavaScript", "Array", "Shallow-Clone", "Clone", "Duplicate", "ECMAScript", "Node.JS", "NodeJS", "Chromium", "Mozilla Firefox", "Microsoft Edge 124.0.2478.97" ]
tags: ["JavaScript", "Array", "Shallow-Clone", "Clone", "Duplicate", "ECMAScript", "Node.JS", "NodeJS", "Chromium", "Mozilla Firefox", "Microsoft Edge", "SpiderMonkey", "V8" ]
---
<p class="block">The Discord Servers I'm a moderator in have a bit of a spam bot problem lately, where bots join that never interact and only spam user's DMs. While I could wait until Discord bans them, it's not exactly the best solution, so why not build my own bot to handle users that never interact? So I started building a bot using NodeJS and <i>discord.js</i>. It's been going great so far, but then my ADHD got the better of me when I wanted to know: What actually is the fastest way to clone an Array?</p><!--more-->