Difference between $() and ${}

$(xxx) and `xxx` are similar in function, both are used to execute xxx, xxx is a command, $( ) is used more than ` `


${ } is used to refer to variables

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324729475&siteId=291194637