Start by writing a small program with no function denitions. Bắt đầu bằng việc viết chương trình nhỏ mà không định nghĩa hàm.
Which in turn is because the code is executed at function definition, not call. Mà lần lượt là vì mã được thực thi ở định nghĩa hàm, không gọi.
Once you have defined a function, you can use it inside another function. Một khi bạn đã định nghĩa hàm, bạn có thể dùng nó trong một hàm khác.
WebAssembly modules define functions that can be used from JavaScript. Các modules WebAssembly sẽ định nghĩa hàm có thể được gọi từ JavaScript.
A module can contain executable statements as well as function definitions. Một module có thể chứa các câu lệnh thực thi cũng như các định nghĩa hàm.
Since an anonymous class has no name, it is not possible to define a constructor for an anonymous class. Vì anonymous class không có tên, không thể định nghĩa hàm tạo cho anonymous class.
A user defined function declaration starts with the word "function": Một người dùng định nghĩa hàm (function) khai báo bứt đầu với từ “funtion”:
A user defined function declaration starts with the word “function”: Một người dùng định nghĩa hàm (function) khai báo bứt đầu với từ “funtion”:
Instantiate a new list on function definition and not on invocation? khởi tạo một danh sách mới về định nghĩa hàm chứ không phải trên lời gọi?
This program contains two function definitions: print_lyrics and repeat_lyrics. repeat_lyrics() Chương trình này bao gồm hai định nghĩa hàm: print_lyrics và repeat_lyrics.