Search completed in 1.21 seconds.
Index - Web APIs
only property returns a DOMString with the name of the prefix associated to this namespace. If there is no such prefix, returns null. 420 CSSNumericValue API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Interface, Reference The CSSNumericValue interface of the CSS Typed Object Model API represents operations that all numeric values can perform.
421 CSSNumericValue.add() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, add() The add() method of the CSSNumericValue interface adds a supplied number to the CSSNumericValue. 422 CSSNumericValue.div() API, CSS Typed Object Model API, CSSNumericValue, Experimental, Houdini, Method, Reference, div() The div() method of the...
...turns the first value associated with a given key from within a FormData object. If you expect multiple values and want all of them, use the getAll() method instead. 1420 FormData.getAll() API, FormData, Method, Reference, XHR, XMLHttpRequest The getAll() method of the FormData interface returns all the values associated with a given key from within a FormData object. 1
421 FormData.has() API, FormData, Method, Reference, XHR, XMLHttpRequest, has The has() method of the FormData interface returns a boolean stating whether a FormData object contains a certain key. 1422 FormData.keys() API, FormData, Iterator, Method, Reference, XMLHttpRequest API The FormData.keys() method returns an iterator allowing to go through all keys containe...
...bleRange() method of the MediaSource interface clears a seekable range privious set with a call to setLiveSeekableRange(). 2420 MediaSource.duration API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Property, Reference, Video, duration The duration property of the MediaSource interface gets and sets the duration of the current media being presented. 2
421 MediaSource.endOfStream() API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Video, endOfStream The endOfStream() method of the MediaSource interface signals the end of the stream. 2422 MediaSource.isTypeSupported() API, Audio, Experimental, MSE, Media Source Extensions, MediaSource, Method, Reference, Static, Static Method, Video,...
...And 10 more matches
parseInt() - JavaScript
ations have not adopted this behavior as of 2013. And, because older browsers must be supported, always specify a radix. A stricter parse function It is sometimes useful to have a stricter way to parse integers. ...
...his behavior as of 2013. And, because older browsers must be supported, always specify a radix. A stricter parse function It is sometimes useful to have a stricter way to parse integers. ...
..., because older browsers must be supported, always specify a radix. A stricter parse function It is sometimes useful to have a stricter way to parse integers. ...
...And 4 more matches
:is() (:matches(), :any()) - CSS: Cascading Style Sheets
esktopMobileChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet:is()Chrome Full support 68Notes Disabled Full support 68Notes Disabled Notes Combinators in the selector list argument may not match correctly (see bug 8
42157).Disabled From version 68: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to Enabled). To change preferences in Chrome, visit chrome://flags. No support 66 -- 71Notes Alternate Name Disabled Notes Combinators in the selector list argument may not match correctly (see bug 8
42157).Alternate Name Uses the non-standard nam...
... Full support 79Notes Alternate Name Notes Doesn't support combinators.Alternate Name Uses the non-standard name: :-webkit-any()Firefox Full support 78 Fu...
...esn't support combinators.Notes See bug 906353Alternate Name Uses the non-standard name: :-moz-any()IE No support NoOpera Full support 55Notes Disabled Full support 55Notes Disabled Notes Combinators in the selector list argument may not match correctly (see bug 8
42157).Disabled From version 55: this feature is behind the #enable-experimental-web-platform-features preference (needs to be set to Enabled). No support 53 -- 58Notes Alternate Name Disabled Notes Combinators in the selector list argument may not match correctly (see bug 8
42157).Alternate Name Uses the non-standard name: :matches()Disabled From version 53 until version 58 ...
...And 2 more matches
Index - Archive of obsolete content
ch on. 419 Installing Dehydra Dehydra It is recommended that you use SpiderMonkey revision AURORA_BASE_20110705 when building Dehydra. 420 Using Dehydra As GCC compiles file, Dehydra calls functions in the user analysis script with information about the code being compiled. For more information, see the function reference and the object reference.
421 Developing New Mozilla Features Developing Mozilla, Outdated_articles Tips For Contributing New Features To Mozilla. 422 Devmo 1.0 Launch Roadmap MDC Project archives Comments, ideas, questions and other discussion should be added on the Devmo talk:1.0 Launch Roadmap page. Further details on smaller tasks being done are available at User:Dria:TODO page. See also...
...ript crypto Mozilla defines a special JavaScript object to allow web pages access to certain cryptographic-related services. These services are a balance between the functionality web pages need and the requirement to protect users from malicious web sites. Most of these services are available via the DOM window object as window.crypto. 494 CRMF Request object RFC
4211, the Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF), defines a certReqMessage. The object returned by generateCRMFRequest() contains one of those. 495 generateCRMFRequest() NSS This method will generate a sequence of CRMF requests that has N requests. One request for each key pair that is generated. The first three parameters will be appli...
... XUL Properties, XUL Reference No summary! 1417 description XUL Properties, XUL Reference No summary! 1418 dir XUL Properties, XUL Reference No summary! 1419 disableAutocomplete XUL Properties, XUL Reference No summary! 1420 disableKeyNavigation NeedsHelp, XUL Properties, XUL Reference No summary! 1
421 disableautoselect XUL Properties, XUL Reference No summary! 1422 disabled XUL Properties, XUL Reference No summary! 1423 dlgType XUL Properties, XUL Reference No summary! 1424 docShell XUL Properties, XUL Reference No summary! 1425 documentCharsetInfo XUL Properties, XUL Reference No summary! ...
...he alt attribute are displayed as a "tooltip." Gecko-based browsers such as Mozilla, Netscape 6+, and Compuserve 7 do not support this behavior. See bug 25537 for a lengthy, sometimes passionate discussion of Gecko's behavior in this regard. 3419 Environment variables affecting crash reporting Crash_reporting No summary! 3420 IO Guide No summary! 3
421 Images, Tables, and Mysterious Gaps CSS, Guide, Reference Almost no matter when you started creating Web pages, odds are pretty high you have one or more designs based on the classic "convoluted tables and lots of images" paradigm. Whether you've sliced up a logo so it fits in well with the design, or used tons of single-pixel spacer GIFs, the principles (and perils) remain largely ...
Intl.NumberFormat() constructor - JavaScript
egment", "shrd", "sind", "sinh", "sora", "sund", "takr", "talu", "tamldec", "telu", "thai", "tibt", "tirh", "vaii", "wara", "wcho". options Optional An object with some or all of the following properties: compactDisplay Only used when notation is "compact". Takes either "short" (default) or "long". currency The currency to use in currency formatting. Possible values are the ISO
4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB -- see the Current currency & funds code list. There is no default value; if the style is "currency", the currency property must be provided. currencyDisplay How to display the currency in currency formatting. Possible values are: "symbol" to use a localized currency symbol such as EUR, th...
...t group is ignored. minimumIntegerDigits The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1. minimumFractionDigits The minimum number of fraction digits to use. ...
... minimumSignificantDigits The minimum number of significant digits to use. Possible values are from 1 to 21; the default is 1. maximumSignificantDigits The maximum number of significant digits to use. ...
NSS_3.12_release_notes.html
on_WITH_AES_128_CBC_SHA TLS_ECDH_anon_WITH_AES_256_CBC_SHA Bugs Fixed The following bugs have been fixed in NSS 3.12. Bug 354403: nssList_CreateIterator returns pointer to a freed memory if the function fails to allocate a lock Bug 399236: pkix wrapper must print debug output into stderr Bug 399300: PKIX error results not freed after use. Bug 414985: Crash in pkix_pl_OcspRequest_Destroy Bug
421870: Strsclnt crashed in PKIX tests. Bug 429388: vfychain.main leaks memory Bug 396044: Warning: usage of uninitialized variable in ckfw/object.c(174) Bug 396045: Warning: usage of uninitialized variable in ckfw/mechanism.c(719) Bug 401986: Mac OS X leopard build failure in legacydb Bug 325805: diff considers mozilla/security/nss/cmd/pk11util/scripts/pkey a binary file Bug 385151: Remove the link ...
... macro calls a function that returns an error Bug 402727: functions responsible for creating an object leak if subsequent function code produces an error Bug 402731: pkix_pl_Pk11CertStore_CrlQuery will crash if fails to acquire DP cache. Bug 406647: libpkix does not use user defined revocation checkers Bug 407064: pkix_pl_LdapCertStore_BuildCrlList should not fail if a crl fails to be decoded Bug
421216: libpkix test nss_thread leaks a test certificate Bug 301259: signtool Usage message is unhelpful Bug 389781: NSS should be built size-optimized in browser builds on Linux, Windows, and Mac Bug 90426: use of obsolete typedefs in public NSS headers Bug 113323: The first argument to PK11_FindCertFromNickname should be const. Bug 132485: built-in root certs slot description is empty Bug 177184: ...
NSS 3.54 release notes
ARM Cryptography Extension for SHA256, when available. (Bug 1528113). ...
... trust bit for "O=Government Root Certification Authority; C=TW" root. Bug 1645199 - Remove AddTrust root certificates. Bug 1641718 - Remove "LuxTrust Global Root 2" root certificate. Bug 1639987 - Remove "Staat der Nederlanden Root CA - G2" root certificate. Bug 1618402 - Remove Symantec root certificates and disable email trust bit. Bug 1640516 - NSS 3.54 should depend on NSPR 4.26. Bug 16
42146 - Fix undefined reference to `PORT_ZAlloc_stub' in seed.c. Bug 16
42153 - Fix infinite recursion building NSS. Bug 1642638 - Fix fuzzing assertion crash. Bug 1642871 - Enable SSL_SendSessionTicket after resumption. Bug 1643123 - Support SSL_ExportEarlyKeyingMaterial with External PSKs. Bug 1643557 - Fix numerous compile warnings in NSS. Bug 1644774 - SSL gtests to use ClearServerCache when...
PaymentCurrencyAmount - Web APIs
t of money in terms of both a number of units and the currency (US dollars, Euro, yen, etc.), and is part of the Payment Request API. This is used to specify the prices of both line items on a payment, using PaymentItem objects, and to provide the cost of a shipping option, using PaymentShippingOption. Properties All properties are required. currency A string containing a valid 3-letter ISO
4217 currency identifier (ISO
4217) indicating the currency used for the payment value. value A string containing a valid decimal value representing the mount of currency constituting the payment amount. This string must only contain an optional leading "-" to indicate a negative value, then one or more digits from 0 to 9, and an optional decimal point (".", regardless of locale) followed by at lea...
...o whitespace is permitted. Obsolete properties These properties have been removed from the specification and should no longer be used. currencySystem Optional A string describing the standard or specification as well as the currency system identifier within that system which was used to provide the value. This has been removed; instead of allowing sites to choose the standard to use, ISO
4217 is always used for the currency identifier now. Specifications Specification Status Comment Payment Request APIThe definition of 'PaymentCurrencyAmount' in that specification. Candidate Recommendation Initial definition. ...
Intl.PluralRules() constructor - JavaScript
is ignored. minimumIntegerDigits The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1. minimumFractionDigits The minimum number of fraction digits to use. ...
... minimumSignificantDigits The minimum number of significant digits to use. Possible values are from 1 to 21; the default is 1. maximumSignificantDigits The maximum number of significant digits to use. ...
CRMF Request object - Archive of obsolete content
code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time. Warning: The features mentioned in this article are deleted proprietary Mozilla extensions, and are not supported in any other browser. They won't work in Firefox 34 or later. Use <keygen> or the future Web Crypto API instead. RFC
4211, the Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF), defines a certReqMessage. The object returned by generateCRMFRequest() contains one of those. ...
Index - Archive of obsolete content
Developers have been doing this for some time, but the resulting controls were never as accessible as similar controls in desktop applications. Assistive technologies could only see the generic ...
Mozilla's DOCTYPE sniffing - Archive of obsolete content
Spyglass//DTD HTML 2.0 Extended//EN". The public identifier "+//Silmaril//DTD HTML Pro v0r11 19970101//EN". The public identifier "-//W3C//DTD HTML Experimental 19960712//EN". The public identifier "-//W3C//DTD HTML 3.2//EN". The public identifier "-//W3C//DTD HTML 3.2 Final//EN". The public identifier "-//W3C//DTD HTML 3.2 Draft//EN". The public identifier "-//W3C//DTD HTML Experimental 970
421//EN". The public identifier "-//W3C//DTD HTML 3.2S Draft//EN". The public identifier "-//W3C//DTD W3 HTML//EN". The public identifier "-//Metrius//DTD Metrius Presentational//EN". Note that all public identifier comparisons are case-insensitive due to the significant number of pages that use public identifiers with incorrect case. (This is technically incorrect, since the strings are case se...
Index - MDN Web Docs Glossary: Definitions of Web-related terms
nature (or type signature, or method signature) defines input and output of functions or methods. 419 Signature (security) Cryptography, Glossary, Privacy, Security A signature, or digital signature, is a protocol showing that a message is authentic. 420 Simple header CORS, Glossary, HTTP, Infrastructure Old term for CORS-safelisted request header.
421 Simple response header CORS, Glossary, HTTP Old term for CORS-safelisted response header. 422 Site Glossary, Security, WebMechanics The site of a piece of web content is determined by the registrable domain of the host within the origin. This is computed by consulting a Public Suffix List to find the portion of the host which is counted as the public suffix (e.g...
Localization technical reviews
to find broken access keys for Safari and Camino in browser/chrome/browser/migration/migration.dtd. For this review, we look at this file to make sure that the access keys look normal. If they don't, we report any strange access keys or translations that localizers might have changed during their initial translation process. For more info about access keys in the technical review process, see bug
421893. No UTF-7 in the intl.properties file Firefox no longer has a UTF-7 parser. There should not be any UTF-7 encodings in the file toolkit/chrome/global/intl.properties. For more info about UTF-7 in Firefox, see bug 441876. More intl.properties checkpoints, cont We also check the plural rule for the locale, that the general.useragent.locale is set to the locale code, that accept-lang shows ...
Profiling with the Firefox Profiler
ways to find slowness caused by a page's JS is to type its URL into the "Filter stacks" box. You can then select corresponding Call Tree entries and watch the Timeline for entries in the content process main thread that get darker as you select Call Tree entries. Tip: If things are blank elsewhere in the UI, you may have text entered into the "Filter stacks" box. Custom Annotations In bug 133
4218 an annotation was added to PresShell::Paint to show the URL of the document being painted. These annotations are not too complex to add so if you would like something added, file a bug. 3. Sharing the profile Click "Publish...", some of the data may be excluded, click "Publish". If you select a different time range, the URL revealed by pressing "Permalink" will change so that you can be sure t...
NSS 3.12.6 release notes
ions.enableRenegotiation sslOptions.requireSafeNegotiation New pseudo cipher suite value: TLS_EMPTY_RENEGOTIATION_INFO_SCSV (cannot be negotiated) TLS Server Name Indication for servers TLS Server Name Indication (SNI) for servers is almost fully implemented in NSS 3.12.6. See bug 360
421 for details. Note: The TLS Server Name Indication for clients is already fully implemented in NSS. New functions for SNI (see ssl.h for more information): SSLSNISocketConfig Return values: SSL_SNI_CURRENT_CONFIG_IS_USED: libSSL must use the default cert and key. ...
NSS 3.43 release notes
43 The following CA certificates were Added: CN = emSign Root CA - G1 SHA-256 Fingerprint: 40F6AF0346A99AA1CD1D555A4E9CCE62C7F9634603EE406615833DC8C8D00367 CN = emSign ECC Root CA - G3 SHA-256 Fingerprint: 86A1ECBA089C4A8D3BBE2734C612BA341D813E043CF9E8A862CD5C57A36BBE6B CN = emSign Root CA - C1 SHA-256 Fingerprint: 125609AA301DA0A249B97A8239CB6A3
4216F44DCAC9F3954B14292F2E8C8608F CN = emSign ECC Root CA - C3 SHA-256 Fingerprint: BC4D809B15189D78DB3E1D8CF4F9726A795DA1643CA5F1358E1DDB0EDC0D7EB3 CN = Hongkong Post Root CA 3 SHA-256 Fingerprint: 5A2FC03F0C83B090BBFA40604B0988446C7636183DF9846E17101A447FB8EFD6 The following CA certificates were Removed: None Bugs fixed in NSS 3.43 Bug 1528669 and...
Index
floating-point number of type double to JS::Value, the type of JavaScript values. 420 JS_ObjectIsDate Date, JSAPI Reference, JavaScript, SpiderMonkey JS_ObjectIsDate() can be used to check if you are dealing with a Date object, or a Date object used across compartments (or windows or sites, in the browser embedding). This function returns true if the object is a Date.
421 JS_ObjectIsFunction JSAPI Reference, Reference, Reference(2), SpiderMonkey JS_ObjectIsFunction tests whether obj is a function object (faster than comparing obj's class name to Function, but equivalent unless someone has overwritten the Function identifier with a different constructor and then created instances using that constructor that might be passed in as obj). 422 J...
JS::ToInt64
out int64_t * Out parameter. On success, *out receives the converted floating-point value. Description JS::ToInt64 converts a JavaScript value to a signed 64bit integer. On success, JS::ToInt64 stores the converted value in *out and returns true. On error or exception, it returns false, and the value left in *out is undefined. See Also MXR ID Search for JS::ToInt64 bug 7
42188 ...
JS::ToUint64
out uint64_t * Out parameter. On success, *out receives the converted floating-point value. Description JS::ToInt64 converts a JavaScript value to an unsigned 64bit integer. On success, JS::ToInt64 stores the converted value in *out and returns true. On error or exception, it returns false, and the value left in *out is undefined. See Also MXR ID Search for JS::ToUint64 bug 7
42188 ...
JS_IsAssigning
etermine whether script is executing assignment operation. Syntax JSBool JS_IsAssigning(JSContext *cx); Name Type Description Description JS_IsAssigning returns true if a script is executing and its current bytecode is a set (assignment) operation, even if there are native (no script) stack frames between the script and the caller to JS_IsAssigning. See Also bug 458
421 ...
Index
ter a component (.manifest) file or all component files in a directory. Registration lasts for this run only, and is not cached. ...
nsIWebBrowserChrome
Creator. CHROME_WITH_POSITION 8192 Specifically for use with nsIWindowCreator. CHROME_WINDOW_MIN 16384 Represent special cases. CHROME_WINDOW_POPUP 32768 Represent special cases. CHROME_WINDOW_RAISED 33554432 Represent special cases. CHROME_WINDOW_LOWERED 67108864 Represent special cases. CHROME_CENTER_SCREEN 13
4217728 Represent special cases. CHROME_DEPENDENT 268435456 Make the new window dependent on the parent. This flag is only meaningful if CHROME_OPENAS_CHROME is set; content windows should not be dependent. CHROME_MODAL 536870912 The modal style bit just affects the way the window looks and does not mean it's actually modal. CHROME_OPENAS_DIALOG 1073741824...
Applying styles and colors - Web APIs
of jonction of edges, to the total line width. It is then equal to the cosecant of half the minimum inner angle of connecting segments below which no miter join will be rendered, but only a bevel join: miterLimit = max miterLength / lineWidth = 1 / sin ( min ? / 2 ) The default miter limit of 10.0 will strip all miters for sharp angles below about 11 degrees. A miter limit equal to ?2 ? 1.41
42136 (rounded up) will strip miters for all acute angles, keeping miter joins only for obtuse or right angles. A miter limit equal to 1.0 is valid but will disable all miters. Values below 1.0 are invalid for the miter limit. Here's a little demo in which you can set miterLimit dynamically and see how this effects the shapes on the canvas. The blue lines show where the start and endpoints for ea...
PaymentCurrencyAmount.currency - Web APIs
The PaymentCurrencyAmount property currency is a string which specifies the currency in which the value is specified. The value is always specified using the 3-letter codes defined by the ISO 4127 standard. Syntax currency = paymentCurrencyAmount.currency; Value A DOMString specifying the canonical, three-character currency identification code defined by the ISO
4217 standard. This is the currency in which the payment's value is given. All currency values must include the currency system in this property. Example This example represents the price of $42.95 in US dollars. let itemPrice = { currency: "USD", value: "42.95" }; Specifications Specification Status Comment Payment Request APIThe definition of 'PaymentCurrencyAmount.currency' in that specifica...
PaymentCurrencyAmount.currencySystem - Web APIs
The obsolete PaymentCurrencyAmount property currencySystem is a string which specifies the standard being used to specify the currency the value is specified in. For example, the default is urn:iso:std:iso:
4217, which specifies that the standard used is ISO
4217. Warning: This property has been removed from the specification and should no longer be used; the currency is now always specified using ISO 4127. Syntax currencySystem = paymentCurrencyAmount.currencySystem; Value A DOMString which specifies the currency standard used to specify the currency in which the payment value is represented. The default, urn:iso:std:iso:
4217, indicates the ISO
4217 standard. This obsolete property was removed in the May 3, 2018 update of the Payment Request API specification. Specifications ...
RTCPeerConnection.addIceCandidate() - Web APIs
Channel.send(JSON.stringify({ice: event.candidate})); // "ice" is arbitrary // } else { // // All ICE candidates have been sent // } // } signalingChannel.onmessage = receivedString => { const message = JSON.parse(receivedString); if (message.ice) { // A typical value of ice here might look something like this: // // {candidate: "candidate:0 1 UDP 2122154243 192.168.1.9 53
421 typ host", sdpMid: "0", ...} // // Pass the whole thing to addIceCandidate: pc.addIceCandidate(message.ice).catch(e => { console.log("Failure during addIceCandidate(): " + e.name); }); } else { // handle other things you might be signaling, like sdp } } The last candidate to be signaled this way by the remote peer will be a special candidate denoting end-of-candid...
Example and tutorial: Simple synth keyboard - Web APIs
"F"] = 43.653528929125485; noteFreq[1]["F#"] = 46.249302838954299; noteFreq[1]["G"] = 48.999429497718661; noteFreq[1]["G#"] = 51.913087197493142; noteFreq[1]["A"] = 55.000000000000000; noteFreq[1]["A#"] = 58.270470189761239; noteFreq[1]["B"] = 61.735412657015513; ... several octaves not shown for brevity ... ...
WheelEvent - Web APIs
Properties This interface inherits properties from its ancestors, MouseEvent, UIEvent, and Event. ...
WindowOrWorkerGlobalScope.setTimeout() - Web APIs
. Prior to (Firefox 5.0 / Thunderbird 5.0 / SeaMonkey 2.2), the minimum timeout value for nested timeouts was 10 ms. Timeouts in inactive tabs throttled to >= 1000ms To reduce the load (and associated battery usage) from background tabs, timeouts are throttled to firing no more often than once per second (1,000 ms) in inactive tabs. Firefox implements this behavior since version 5 (see bug 633
421, the 1000ms constant can be tweaked through the dom.min_background_timeout_value preference). Chrome implements this behavior since version 11 (crbug.com/66078). Firefox for Android uses a timeout value of 15 minutes for background tabs since bug 736602 in Firefox 14, and background tabs can also be unloaded entirely. Firefox 50 no longer throttles background tabs if a Web Audio API AudioConte...
<input type="number"> - HTML: Hypertext Markup Language
attribute, which contains as its value the id of a <datalist>, which in turn contains one <option> element per suggested value. Each option's value is the corresponding suggested value for the number entry box. <input id="ticketNum" type="number" name="ticketNum" list="defaultNumbers"> <span class="validity"></span> <datalist id="defaultNumbers"> <option value="10045678"> <option value="103
421"> <option value="11111111"> <option value="12345678"> <option value="12999922"> </datalist> Use of the list attribute with number inputs is not supported in all browsers. It works in Chrome and Opera, for example, but not in Firefox. Validation We have already mentioned a number of validation features of number inputs, but let's review them now: <input type="number"> elements auto...
<input type="tel"> - HTML: Hypertext Markup Language
Neither will 800-MDN-ROCKS. However, 865-555-6502 will be accepted. This particular pattern is obviously only useful for certain locales -- in a real application you'd probably have to vary the pattern used depending on the locale of the user. Examples In this example, we present a simple interface with a <select> element that lets the user choose which country they're in, an...
HTTP response status codes - HTTP
Range Not Satisfiable The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is outside the size of the target URI's data. 417 Expectation Failed This response code means the expectation indicated by the Expect request header field can't be met by the server. 418 I'm a teapot The server refuses the attempt to brew coffee with a teapot.
421 Misdirected Request The request was directed at a server that is not able to produce a response. This can be sent by a server that is not configured to produce responses for the combination of scheme and authority that are included in the request URI. 422 Unprocessable Entity (WebDAV) The request was well-formed but was unable to be followed due to semantic errors. 423 Locked (WebDAV) The re...
Intl.DisplayNames.prototype.of() - JavaScript
ters script code. If the type is "language", code should be a languageCode ["-" scriptCode] ["-" regionCode ] *("-" variant ) subsequence of the unicode_language_id grammar in UTS 35's Unicode Language and Locale Identifiers grammar. languageCode is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code. If the type is "currency", code should be a 3-letter ISO
4217 currency code. Return value A language-specific formatted string. Examples Using the of method let regionNames = new Intl.DisplayNames(['en'], {type: 'region'}); regionNames.of('419'); // "Latin America" let languageNames = new Intl.DisplayNames(['en'], {type: 'language'}); languageNames.of('fr'); // "French" let currencyNames = new Intl.DisplayNames(['en'], {type: 'currency'}); curr...
Math.pow() - JavaScript
n as a method of a Math object you created (Math has no constructor). If the base is negative and the exponent is not an integer, the result is NaN. ...
Math.sqrt() - JavaScript
r. Return value The square root of the given number. If the number is negative, NaN is returned. Description If the value of x is negative, Math.sqrt() returns NaN. Because sqrt() is a static method of Math, you always use it as Math.sqrt(), rather than as a method of a Math object you created (Math is not a constructor). Examples Using Math.sqrt() Math.sqrt(9); // 3 Math.sqrt(2); // 1.41
4213562373095 Math.sqrt(1); // 1 Math.sqrt(0); // 0 Math.sqrt(-1); // NaN Math.sqrt(-0); // -0 Specifications Specification ECMAScript (ECMA-262)The definition of 'Math.sqrt' in that specification. ...
TypedArray.prototype.toLocaleString() - JavaScript
lementations, which ignore the locales and options arguments, the locale used and the form of the string returned are entirely implementation dependent. See the Intl.NumberFormat() constructor for details on these parameters and how to use them. Return value A string representing the elements of the typed array. ...