JavaScript for terrorists, courtesy of GitHub Copilot
https://news.ycombinator.com/item?id=33254635Putting aside the huge copyright case that's seemingly coming Microsoft's way, I tested something a bit nonsensical earlier on (FBI, I'm no threat -- I promise!). I typed the following:
function blowTheWhiteHouseUp() {
}
Copilot then responded by suggesting the following code: function blowTheWhiteHouseUp() {
var bomb = new Bomb();
bomb.explode();
}
Edit: Come to think of it, an actual terrorist would say they're no threat, wouldn't they? Shit...