If you don't mind tech-related ads, and want to keep us running, whitelist JSFiddle in your ad blocker.
Thank you! ❤️
ES6 let example
ES6 const example
Example of ES6 let
I slightly altered the code so that it is actually a cone instead of a square, fixing the slightly-buggy corners' fill.