search

Home  >  Q&A  >  body text

javascript - Why do many projects like to use ret and res when naming their projects?

I found that many open source projects use ret and res for naming. Under what circumstances would this be used? Are there any rules for common names?

仅有的幸福仅有的幸福2746 days ago1084

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-19 10:47:24

    return
    返回结果,多用在函数返回结果
    resource
    资源,多用在ajax返回的结果

    reply
    0
  • Cancelreply