Follow TV Tropes

Following

History MediaNotes / JavaScript

Go To

OR

Is there an issue? Send a MessageReason:
None


[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=][[note]]Domain Origin Model, a programming interface for web documents[[/note]]. Even [[Website/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for both client-side (frontend) and server-side scripting (backend) with [[https://reactjs.org/ React]] and [[https://nodejs.org/en/ Node.js]] respectively, and for writing non-browser applications.

to:

[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage.MediaNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=][[note]]Domain Origin Model, a programming interface for web documents[[/note]]. Even [[Website/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for both client-side (frontend) and server-side scripting (backend) with [[https://reactjs.org/ React]] and [[https://nodejs.org/en/ Node.js]] respectively, and for writing non-browser applications.



[=JavaScript=] uses a common [[UsefulNotes/TheCLanguage C-like]] for loop. This style is used in most languages.

to:

[=JavaScript=] uses a common [[UsefulNotes/TheCLanguage [[MediaNotes/TheCLanguage C-like]] for loop. This style is used in most languages.
Is there an issue? Send a MessageReason:
Page was movedfrom UsefulNotes.Java Script to MediaNotes.Java Script. Null edit to update page.
Is there an issue? Send a MessageReason:
None


When browsers were first introduced, they could only display static, non-interactive webpages. Netscape decided to change this by collaborating with Sun Microsystems to add UsefulNotes/{{Java}} applets to their webpages, but soon Netscape decided that the best course of action was to create their own language. [=JavaScript=] was first released in the Navigator browser in 1995.


to:

When browsers were first introduced, they could only display static, non-interactive webpages. Netscape decided to change this by collaborating with Sun Microsystems to add UsefulNotes/{{Java}} MediaNotes/{{Java}} applets to their webpages, but soon Netscape decided that the best course of action was to create their own language. [=JavaScript=] was first released in the Navigator browser in 1995.

Is there an issue? Send a MessageReason:
None


Why did this happen? Think of


to:

Why %%Why did this happen? Think of

Is there an issue? Send a MessageReason:
None


[[purple:let]] [[blue:c]] [[gray:=]] [[red:"hi"]][[gray:;]]\\

to:

[[purple:let]] [[blue:c]] [[gray:=]] [[red:"hi"]][[gray:;]]\\[[red:"Bob"]][[gray:;]]\\



[[green:// Outputs 7hi]]\\
[[gray:console.log(]][[red:"Hello and "]] [[cinnamon:+]] [[gray:c);]]\\
[[green:// Outputs Hello and hi]]\\

to:

[[green:// Outputs 7hi]]\\
7Bob]]\\
[[gray:console.log(]][[red:"Hello and log(]][[red:"Hello, "]] [[cinnamon:+]] [[gray:c);]]\\
[[green:// Outputs Hello and hi]]\\Hello, Bob]]\\
Is there an issue? Send a MessageReason:
None


Although it is possible to declare variables without the 'let' keyword, it's not recommended because declaring variables in that way always makes it a Global variable regardless of context and that can lead to errors. [[note]]Sometimes, older programs will use 'var' instead of 'let' but most recommend let now. [[https://stackoverflow.com/questions/762011/whats-the-difference-between-using-let-and-var see here why you should use let]][[/note]]

to:

Although it is possible to declare variables without the 'let' keyword, it's not recommended because declaring variables in that way always makes it a Global variable regardless of context and that can lead to errors. [[note]]Sometimes, older programs will use 'var' instead of 'let' but most recommend let now. [[https://stackoverflow.com/questions/762011/whats-the-difference-between-using-let-and-var see See here why you should use let]][[/note]]
let.]][[/note]]
Is there an issue? Send a MessageReason:
Grammar


Although it is possible to declare variables without the the 'let' keyword, it's not recommended because declaring variables in that way always makes it a Global variable regardless of context and that can lead to errors. [[note]]Sometimes, older programs will use 'var' instead of 'let' but most recommend let now. [[https://stackoverflow.com/questions/762011/whats-the-difference-between-using-let-and-var see here why you should use let]][[/note]]

to:

Although it is possible to declare variables without the the 'let' keyword, it's not recommended because declaring variables in that way always makes it a Global variable regardless of context and that can lead to errors. [[note]]Sometimes, older programs will use 'var' instead of 'let' but most recommend let now. [[https://stackoverflow.com/questions/762011/whats-the-difference-between-using-let-and-var see here why you should use let]][[/note]]
Is there an issue? Send a MessageReason:
None



to:

[[caption-width-right:250:And no, it wasn't [[ETGaveUsWiFi invented by wizards]]. [[Manga/MissKobayashisDragonMaid Not in this world, at least]].]]
Is there an issue? Send a MessageReason:
Wiki/ namespace clean up.


[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=][[note]]Domain Origin Model, a programming interface for web documents[[/note]]. Even [[Wiki/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for both client-side (frontend) and server-side scripting (backend) with [[https://reactjs.org/ React]] and [[https://nodejs.org/en/ Node.js]] respectively, and for writing non-browser applications.

to:

[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=][[note]]Domain Origin Model, a programming interface for web documents[[/note]]. Even [[Wiki/TVTropes [[Website/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for both client-side (frontend) and server-side scripting (backend) with [[https://reactjs.org/ React]] and [[https://nodejs.org/en/ Node.js]] respectively, and for writing non-browser applications.



* Wiki/TVTropes. In addition to the stuff discussed above, [=TVTropes=] uses [=JavaScript=] for the following features, among other things:

to:

* Wiki/TVTropes.Website/TVTropes. In addition to the stuff discussed above, [=TVTropes=] uses [=JavaScript=] for the following features, among other things:



* Wiki/TheOtherWiki, and users of [=MediaWiki=] can even write custom [=JavaScript=] code to be executed in the browser.

to:

* Wiki/TheOtherWiki, Website/TheOtherWiki, and users of [=MediaWiki=] can even write custom [=JavaScript=] code to be executed in the browser.
Is there an issue? Send a MessageReason:
Adding React as a client-side library to balance out Node.js as a server-side library.


[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=][[note]]Domain Origin Model, a programming interface for web documents[[/note]]. Even [[Wiki/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for server-side scripting (backend) with [[https://nodejs.org/en/ Node.js]], and for writing non-browser applications.

to:

[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=][[note]]Domain Origin Model, a programming interface for web documents[[/note]]. Even [[Wiki/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for both client-side (frontend) and server-side scripting (backend) with [[https://reactjs.org/ React]] and [[https://nodejs.org/en/ Node.js]], js]] respectively, and for writing non-browser applications.
Is there an issue? Send a MessageReason:
Adding context for what "DOM" means.


[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=]. Even [[Wiki/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for server-side scripting (backend) with [[https://nodejs.org/en/ Node.js]], and for writing non-browser applications.

to:

[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=].[=DOM=][[note]]Domain Origin Model, a programming interface for web documents[[/note]]. Even [[Wiki/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for server-side scripting (backend) with [[https://nodejs.org/en/ Node.js]], and for writing non-browser applications.

Added: 128

Changed: 153

Is there an issue? Send a MessageReason:
None


** Displaying notes when clicked
** Powering launching and discarding in TLP
** Forum previews
** Toggling spoilers on and off

to:

** Displaying notes when clicked
clicked.
** Adding and dropping threads from watchlists.
** Powering launching and discarding in TLP
TLP.
** Replying to queries in AskTheTropers, YouKnowThatShow, and so on.
** Forum previews
previews.
** Toggling spoilers on and offoff.


Added DiffLines:

** To delete your account.
** To allow you to subscribe to our ad-free service.
Is there an issue? Send a MessageReason:
formatting


to display notes, make spoiler tags work, and make options like dark-mode and wide load work.

to:

to ** To display notes, make spoiler tags work, and make options like dark-mode and wide load work.

Added: 315

Changed: 190

Is there an issue? Send a MessageReason:
None


you can try out [=JavaScript=] in your browser by going to ''View > Developer > [=JavaScript=] Console'' if you're on desktop or go to [[https://wyattblue.github.io/webEditor a mobile friendly editor.]]

to:

you You can try out [=JavaScript=] in your browser by going to ''View > Developer > [=JavaScript=] Console'' if you're on desktop or go to [[https://wyattblue.github.io/webEditor a mobile friendly editor.]]



* Wiki/TVTropes, in addition to the stuff discussed above, [=TVTropes=] uses [=JavaScript=] to display notes, make spoiler tags work, and make options like dark-mode and wide load work.
* Wiki/TheOtherWiki

to:

* Wiki/TVTropes, in Wiki/TVTropes. In addition to the stuff discussed above, [=TVTropes=] uses [=JavaScript=] for the following features, among other things:
** Displaying notes when clicked
** Powering launching and discarding in TLP
** Forum previews
** Toggling spoilers on and off
** Toggling dark mode, wide load, and avatar settings.
to display notes, make spoiler tags work, and make options like dark-mode and wide load work.
* Wiki/TheOtherWiki
Wiki/TheOtherWiki, and users of [=MediaWiki=] can even write custom [=JavaScript=] code to be executed in the browser.
Is there an issue? Send a MessageReason:


* Main/TVTropes, in addition to the stuff discussed above, [=TVTropes=] uses [=JavaScript=] to display notes, make spoiler tags work, and make options like dark-mode and wide load work.

to:

* Main/TVTropes, Wiki/TVTropes, in addition to the stuff discussed above, [=TVTropes=] uses [=JavaScript=] to display notes, make spoiler tags work, and make options like dark-mode and wide load work.
Is there an issue? Send a MessageReason:


[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=]. Even [[TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for server-side scripting (backend) with [[https://nodejs.org/en/ Node.js]], and for writing non-browser applications.

to:

[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=]. Even [[TVTropes [[Wiki/TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] has become a popular choice for server-side scripting (backend) with [[https://nodejs.org/en/ Node.js]], and for writing non-browser applications.

Added: 202

Changed: 202

Is there an issue? Send a MessageReason:
None


you can try out [=JavaScript=] in your browser by going to ''View > Developer > [=JavaScript=] Console'' if you're on desktop or go to [[https://wyattblue.github.io/webEditor a mobile friendly editor.]]



you can try out [=JavaScript=] in your browser by going to ''View > Developer > [=JavaScript=] Console'' if you're on desktop or go to [[https://wyattblue.github.io/webEditor a mobile friendly editor.]]


to:

you can try out [=JavaScript=] in your browser by going to ''View > Developer > [=JavaScript=] Console'' if you're on desktop or go to [[https://wyattblue.github.io/webEditor a mobile friendly editor.]]

Is there an issue? Send a MessageReason:
None


you can try out [=JavaScript=] in your browser by going to ''View > Developer > [=JavaScript=] Console'' in you're on desktop or go to [[https://wyattblue.github.io/webEditor a mobile friendly editor.]]


to:

you can try out [=JavaScript=] in your browser by going to ''View > Developer > [=JavaScript=] Console'' in if you're on desktop or go to [[https://wyattblue.github.io/webEditor a mobile friendly editor.]]

Is there an issue? Send a MessageReason:
None


you can try out [=JavaScript=] in your browser by going to view > developer > [=JavaScript=] Console in you're on desktop or go to [[https://wyattblue.github.io/webEditor the mobile friendly version.]]


to:

you can try out [=JavaScript=] in your browser by going to view ''View > developer Developer > [=JavaScript=] Console Console'' in you're on desktop or go to [[https://wyattblue.github.io/webEditor the a mobile friendly version.editor.]]

Is there an issue? Send a MessageReason:
None



to:

you can try out [=JavaScript=] in your browser by going to view > developer > [=JavaScript=] Console in you're on desktop or go to [[https://wyattblue.github.io/webEditor the mobile friendly version.]]

Is there an issue? Send a MessageReason:
None


Is there an issue? Send a MessageReason:
None


[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=]. Even [[TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] became a popular backend choice with [[https://nodejs.org/en/ Node.js]], and for writing non-browser applications.

to:

[=JavaScript=] (often abbreviated as [=JS=]) is a [[https://en.m.wikipedia.org/wiki/Type_system#DYNAMIC dynamically typed]], [[https://en.m.wikipedia.org/wiki/Prototype-based_program prototyped-based]], [[https://en.m.wikipedia.org/wiki/Object-oriented_programming object-oriented]] UsefulNotes/ProgrammingLanguage. [=JavaScript=] is one of the core web technologies, along with [=HTML=] and [=CSS=]. It is used in almost every website as a way to provide interactive content, communicate with backend services, and arbitrarily manipulate the [=DOM=]. Even [[TVTropes this very wiki]] uses [=JavaScript=] for features such as the ability to open and close folders. More recently, [=JavaScript=] became has become a popular backend choice for server-side scripting (backend) with [[https://nodejs.org/en/ Node.js]], and for writing non-browser applications.



[[UsefulNotes/{{Microsoft}} Microsoft's]] Internet Explorer soon took notice and reverse engineered their own interpreter, and their version became the default standard when Internet Explorer was used by 95% of users in the early 2000's.

to:

[[UsefulNotes/{{Microsoft}} Microsoft's]] Internet Explorer soon took notice and reverse engineered their own interpreter, and their version became the default standard when Internet Explorer was used by 95% of users in the early 2000's.
Is there an issue? Send a MessageReason:
None


During 1993 and 1994, webpages could only be static and unchanging. Netscape decided to change this by collaborating with Sun Microsystems to add UsefulNotes/{{Java}} applets to webpages, but soon decided that the best course of action was to create their own language similar to UsefulNotes/{{Java}}. [=JavaScript=] was released in the Navigator browser in 1995


to:

During 1993 and 1994, webpages When browsers were first introduced, they could only be static and unchanging. display static, non-interactive webpages. Netscape decided to change this by collaborating with Sun Microsystems to add UsefulNotes/{{Java}} applets to their webpages, but soon Netscape decided that the best course of action was to create their own language similar to UsefulNotes/{{Java}}. language. [=JavaScript=] was first released in the Navigator browser in 1995

1995.

[[UsefulNotes/{{Microsoft}} Microsoft's]] Internet Explorer soon took notice and reverse engineered their own interpreter, and their version became the default standard when Internet Explorer was used by 95% of users in the early 2000's.

Top