search

Home  >  Q&A  >  body text

function的花括号后面为什么不需要分号?

checkcheck2913 days ago1092

reply all(2)I'll reply

  • 数据分析师

    数据分析师2017-09-30 23:35:36

    Why is there no need for a semicolon after the curly braces of function? -PHP Chinese website Q&A-Why is there no need for a semicolon after the curly braces of function? -PHP Chinese website Q&A

    Please watch and learn.

    reply
    0
  • 迷茫

    迷茫2016-12-22 16:16:14

    function还没有结束  所以不加; 【 function 函数名(){ 函数代码  } 】 这是一个整体,不能加“;”

    reply
    0
  • Cancelreply