JSFiddle - React, Tailwind, and code Playground

HTML

<canvas width="500" height="500" id="canvas"></canvas>

JavaScript

var ctx = document.getElementById('canvas').getContext('2d');

// draws
//ctx.moveTo(10, -1000000000);

// does not draw
ctx.moveTo(10, -10000000000);

ctx.lineTo(200, 100);

ctx.stroke();