How to uppercase a string in JavaScript

Strings
Last updated Nov 11, 2017
const text = "Hello World";

text.toUpperCase();
HELLO WORLD