Skip to main content
added 46 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkeySpiderMonkey engine (shell not browser), the original JS engine.

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkey engine (shell not browser), the original JS engine.

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkey engine (shell not browser), the original JS engine.

deleted 31 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkey engine (shell not browser), the one used in Firefox and the first-ever JavaScriptoriginal JS engine.

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkey engine (shell not browser), the one used in Firefox and the first-ever JavaScript engine

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkey engine (shell not browser), the original JS engine.

added 24 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkeySpiderMonkey engine (shell not browser), the one used in Firefox and the first-ever JavaScript engine

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkey engine, the one used in Firefox and the first-ever JavaScript engine

JavaScript Shell

This will make the language completely unusable.

clear(this);

Isn't it nice how JavaScript has such a nice function to destroy itself?


This is pretty simple, the clear function completely empty an object. this refers to the global object clearing out everything including constructors and functions.


Because this clears everything, doing anything, even defining a literal will throw an error, making the language completely useless: Example Usage *REPL environment not required. Uses the SpiderMonkey engine (shell not browser), the one used in Firefox and the first-ever JavaScript engine

added 104 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
Rollback to Revision 11
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 6 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 77 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 174 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
deleted 5 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
deleted 46 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 22 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 4 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
deleted 15 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 122 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 122 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
added 113 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
deleted 210 characters in body
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading
Source Link
Downgoat
  • 29k
  • 6
  • 84
  • 154
Loading