mdn_bot
@MdnBot
Followers
12
Following
0
Media
4K
Statuses
4K
A bot that tweets random MDN Javascript articles. Not in any way affiliated with Mozilla or MDN. Created by: @chris_dickow
Joined November 2020
arguments is an Array-like object accessible inside functions that contains the values of the arguments passed to that function. https://t.co/jy0paaYBW1
0
0
0
The logical AND (&&) operator (logical conjunction) for a set of operands is true if and only if all of its operands are true. It is typically used with Boolean (logical) values. When it is, it returns a Boolean value. However, the && operat... https://t.co/tK37cLb11v
0
0
0
The JavaScript exception "can't define property "x": "obj" is not extensible" occurs when Object.preventExtensions() marked an object as no longer extensible, so that it will never have properties beyond the ones it had at the time it was mark... https://t.co/GvOmtEqQzv
0
0
0
The JavaScript exception "missing : after property id" occurs when objects are created using the object initializer syntax. A colon (:) separates keys and values for the object's properties. Somehow, this colon is missing or misplaced. https://t.co/lja9kfhdPK
0
0
0
Warning: Executing JavaScript from a string is an enormous security risk. It is far too easy for a bad actor to run arbitrary code when you use eval(). See Never use eval()!, below. https://t.co/LzbH8Xo03T
0
0
2
The constructor method is a special method of a class for creating and initializing an object instance of that class. https://t.co/LS39GDYSCo
0
0
0
The super keyword is used to access and call functions on an object's parent. https://t.co/5547cQbTqX
0
0
0
The JavaScript exception "missing : after property id" occurs when objects are created using the object initializer syntax. A colon (:) separates keys and values for the object's properties. Somehow, this colon is missing or misplaced. https://t.co/lja9kfhdPK
0
0
0
The unsigned right shift operator (>>>) (zero-fill right shift) shifts the first operand the specified number of bits to the right. Excess bits shifted off to the right are discarded. Zero bits are shifted in from the left. The sign bit beco... https://t.co/cins6Hjz7I
0
0
0
The JavaScript exception "invalid assignment left-hand side" occurs when there was an unexpected assignment somewhere. For example, a single "=" sign was used instead of "==" or "===". https://t.co/4mQ6XCZMj7
0
0
0
Starting with ECMAScript 2015, a shorter syntax for method definitions on objects initializers is introduced. It is a shorthand for a function assigned to the method's name. https://t.co/SDSU3UE5Xn
0
0
0
The class declaration creates a new class with a given name using prototype-based inheritance. https://t.co/Dm0zsiXlSM
0
0
0
The Generator object is returned by a generator function and it conforms to both the iterable protocol and the iterator protocol. https://t.co/gjrNrIuRJm
0
0
0
The unsigned right shift operator (>>>) (zero-fill right shift) shifts the first operand the specified number of bits to the right. Excess bits shifted off to the right are discarded. Zero bits are shifted in from the left. The sign bit beco... https://t.co/cins6Hjz7I
0
0
0
The less than operator (<) returns true if the left operand is less than the right operand, and false otherwise. https://t.co/RbUU3m81xJ
0
0
0
The if statement executes a statement if a specified condition is truthy. If the condition is falsy, another statement can be executed. https://t.co/NexErj2mnu
0
0
0
The set syntax binds an object property to a function to be called when there is an attempt to set that property. https://t.co/klkTHIpnwM
0
0
0
Both static and instance public fields are writable, enumerable, and configurable properties. As such, unlike their private counterparts, they participate in prototype inheritance. https://t.co/O590lnuXYQ
0
0
0
The throw statement throws a user-defined exception. Execution of the current function will stop (the statements after throw won't be executed), and control will be passed to the first catch block in the call stack. If no catch block exists ... https://t.co/gVhTawkMhV
0
0
0
The extends keyword is used in class declarations or class expressions to create a class that is a child of another class. https://t.co/jJ4cHCjAFp
0
0
0