Access over 20 million homework & study documents

Computer Science

Content type
User Generated
Subject
Computer Science
Type
Homework
Rating
Showing Page:
1/3
Running Head: JAVA SCRIPT 1
Java Script Discussion
Student’s Name
Institutional Affiliation
Date
Instructors Name

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/3
JAVA SCRIPT 2
Discussion1.
Further, Java Script is a case sensitive language in that language keywords, function
names variables, and other variables must be typed with a continuous capitalization of letters
(Flanagan, 2006). The online keyword for instance must be typed “online” and not “Online” or
“ONLINE”. Similarly, while, While, while and WHILE are four different variable names. Case
sensitivity in Java Script is essential to ensure accuracy as well as clarity. Therefore, a
programmer should not second guess the intention of the user. It provides that a compiler take
the strings and characters correctly as they are entered to circumvent unnecessary confusion and
errors.
Discussion2.
Also, the localeCompare() gives a feedback implying whether a reference comes before
or after the given string sort of order. The introduced Locale and options arguments allow the
application of the language whose sort of order ought to be applied and modify the way the
function responds. .localeCompare() can help in comparing two strings. For instance, -1 simply
means the element being compared comes before. Additionally, 0 means that whatever element in
contrast is equivalent to. Further, 1 provides that the element in contrast comes after.

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/3

Sign up to view the full document!

lock_open Sign Up
Unformatted Attachment Preview
Running Head: JAVA SCRIPT 1 Java Script Discussion Student’s Name Institutional Affiliation Date Instructors Name JAVA SCRIPT 2 Discussion1. Further, Java Script is a case sensitive language in that language keywords, function names variables, and other variables must be typed with a continuous capitalization of letters (Flanagan, 2006). The “online” keyword for instance must be typed “online” and not “Online” or “ONLINE”. Similarly, while, While, while and WHILE are four different variable names. Case sensitivity in Java Script is essential to ensure accuracy as well as clarity. Therefore, a programmer should not second guess the intention of the user. It provides that a compiler take the strings and characters correctly as they are entered to circumvent unnecessary confusion and errors. Discussion2. Also, the localeCompare() gives a feedback implying whether a ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous
Great content here. Definitely a returning customer.

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4