好好爱自己!

javascript 函数的基础知识

1. 

Why JavaScript functions always return a value?

I'm taking a course in JavaScript programming, and the instructor said that a typical JavaScript function always returns a value. Even when we don't provide any explicit return value, the engines return undefined

 

http://stackoverflow.com/questions/20915450/why-javascript-functions-always-return-a-value

 

Brendan Eich —— 这个人设计了 javascript 语言。

 

与之相似的, php 也是95年前后有 landeof设计的

 

posted @ 2016-09-23 13:16  立志做一个好的程序员  阅读(156)  评论(0编辑  收藏  举报

不断学习创作,与自己快乐相处