News for hackers. Stuff that matters.
Re:30 years later, QBasic is still the best by tyingq on Thursday May 05, 2016 @12:58PM (#11637789)
It's not one line of javascript, but drawing a line with an html5 canvas is fairly straightforward. https://jsfiddle.net/4cwmcagp/
Re:30 years later, QBasic is still the best by technomalogical on Thursday May 05, 2016 @02:11PM (#11638454)
If I was going to start a child on coding javascript, I would probably do this or codepen rather than a full fledged text editor, ide, or browser built-in console. Move them to the console once they're comfortable and teach them how to use the debugger.