Fix #17279 Documentation Error

Update documentation to solve #17279. Simple documentation bug.
pull/17285/head
Sauhaarda Chowdhuri 5 years ago committed by GitHub
parent b2464e3379
commit fa349b7a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      doc/js_tutorials/js_setup/js_nodejs/js_nodejs.markdown

@ -146,7 +146,7 @@ npm install canvas jsdom
@code{.js}
const { Canvas, createCanvas, Image, ImageData, loadImage } = require('canvas');
const { JSDOM } = require('jsdom');
const { writeFileSync } = require('fs');
const { writeFileSync, existsSync, mkdirSync } = require("fs");
// This is our program. This time we use JavaScript async / await and promises to handle asynchronicity.
(async () => {

Loading…
Cancel
Save