Thanks ECMAScript,
You've Ruined Us All

Robots are coming for your JavaScript.

By James Kyle

Terminator Salvation, Warner Bros. Pictures
Nuclear Tests at Bakini Atoll
The Fall of the Tower of Babel, Cornelis Anthonisz
import {death, destruction} from 'beep-boop';export const ROBOTS_HATE_PUPPIES = true;
let doubleNums = nums => nums.map(n => n * 2);
doubleNums([1, 2, 3]) // > [2, 4, 6]
class Robot extends Evil {
constructor() {
this.typeOfEvil = 'robot overlord';
super(...arguments);
}
createBlackHole() {
return 1/0;
}
}
var robot = new Robot();
robot.createBlackHole();
The Matrix, Warner Bros. Pictures

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store