How to write that node-glob matches all non-js files?

use node-glob to match files, match to all non-js files, how to write?

May.08,2022

glob("**/!(*.js)", function (er, files) {
    console.log(files)
})

! (pattern | pattern | pattern) Matches anything that does not match any of the patterns provided.

Glob Primer

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e485e0-59cf9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e485e0-59cf9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?