错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Functions & Methods: How Do I Work with Program Functions to Work with Data and Trigger Actions?

  • Joachim L. Zuckarelli

摘要

In this chapter we will look at functions, which in JavaScript—as in many other programming languages—are the programmer’s most important workhorse. We’ll discuss how to call JavaScript functions and how to write your own functions, especially event handlers that make your program interactive for the user. We will also see how to extend the functionality of JavaScript using extension libraries from the internet.