How to understand const $in js?

does not understand the following JS code snippet, why you can const $, and then you can use $. Method name, so const $= require is introduced into all the functions in utils, which is convenient to call?

const $ = require("../../inline/utils")

params.sign = $.generateSignature(params)
May.27,2021

you can learn about require and import , right? The usage of these two methods.

you can also look at the display in the utils file and export some methods. These methods are available to you.

console.log ($) you can also see what methods are available in it

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-1b40e57-2c540.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-1b40e57-2c540.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?