printf( ) - write a formatted string to the standard output stream (ANSI). logMsg( ) does not actually perform the output directly to the logging streams, but instead queues the message to the logging task, logMsg( ) can be called from interrupt serv
call 方法在使用一个指定的this值和若干个指定的参数值的前提下调用某个函数或方法. 注意:该函数的语法与 apply() 方法的语法几乎完全相同,唯一的区别在于,apply()方法接受的是一个参数数组,而 call()方法接受的是一系列参数列表. 了解完这两个方法的概念后,我们来一步一步理解他们的应用. 改变方法内this的指向 我们先来看下面这个例子 var name = "编程的人"; var age = 1; var person = { name:"公众号:bi