Web Script(JavaScript, JScript, ECMAScript) is a portable, object-based scripting language. Web Script can do numerical computations not only with individual numbers, but also with objects such as arrays. In this paper, we define various user-defined ...
Web Script(JavaScript, JScript, ECMAScript) is a portable, object-based scripting language. Web Script can do numerical computations not only with individual numbers, but also with objects such as arrays. In this paper, we define various user-defined functions and using them construct HTML Form Calculators that can compute Web Script expressions. For a given positive integer n, we let S(n) be the set of all primes that do not exceed n and p(n) be the number of all primes that do not exceed n. We create a HTML Form Calculator which can produce S(n) and p(n). We also introduce a method that can be used in analyzing numerical data.