Console in vue source code [console.info? 'info':' log'] ('.'); what does it mean?

such as the title: does any classmate know what it means? Please advise Orz.
understand, thank the gods for their advice, at the same time, also found a good article: about console

there is also an object property access method: object property access

combined these two kinds of knowledge, and suddenly became coquettish, and 666 learned

.
Mar.15,2021

use console.info as soon as you can, otherwise use console.log


you can think of it as

(console.info||console.log)('...')

use console.log

to determine whether console.info, is supported or not.
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-1e59ec3-4d907.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-1e59ec3-4d907.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?