Can js define functions without using the function keyword?

recently, when reading other people"s Mini Program code, I found that the function methods in page in js were not declared with function, but there was no suggestion in the es6 specification that function could be omitted. What"s going on?

Jun.12,2021

Yes. Es6 is fine, https://www.ecma-internationa.

definition of literal quantity of object:

  

when you have nothing to do, there are many new things in es6, and es7 also appears

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