I am checking out the "Promises/A+" Specification, but could not understand the following things:  On Section 1. Terminology,  1.1. "promise” is an object or function with a then method whose behavior conforms to this specification....
I've recently been playing with the Javascript Fetch API. As far as I understand, by default all redirects are handled transparently and in the end I get a response from the last call in the redirect chain.  However, I could invoke fetch with {re...
Using prompt() I am generating some html to and need to know the maximum length that I can put in the popup.  I can't find anything in the spec about this, wondering if someone can help...
Today I tested what happens when you use getBoundingClientRect() on an SVG element that has been rotated.   Test: http://phrogz.net/svg/getBoundingClientRect-on-rotated-elements.html  The result is that:   Chrome, Safari, Opera, and IE appear to calc...
I am wondering about this topic for quite a while. The methods in question are the following:   getElementsByTagName getElementsByClassName getElementsByName querySelectorAll   As far as I know, those DOM methods are the only methods which are able t...
Quick question out of curiosity:  code below works in Firefox and Chrome but not in Safari. Is this Javascript spec circumvented by Firefox and Chrome or is this a quirk in Safari?    var a = {};  a.var = "test";   in all (firefox, safari and...
MDN documentation for toLocaleTimeString() indicates that the hourCycle and hc options have four possible values: "h11", "h12", "h23", & "h24".  Two of the possible values strike me as super obvious (i.e. "h12&...
Does anybody know why, at the end of section 7.6 of the ECMA-262, 5th Edition specification, the nonterminals UnicodeLetter, UnicodeCombiningMark, UnicodeDigit, UnicodeconnectorPunctuation, and UnicodeEscapeSequence are not followed by two colons?  F...
As I understand it, there are two kinds of arrow function body: concise and verbose.  ()=>1 // Concise ()=>{} // Not concise?   Concise lacks braces and is an AssignmentExpression, and verbose is presumably a block, but I am not sure.  14.2 of...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.