Overview / Web Technology
Web technology reference for developers
HTML
Structure of content on the web
CSS
Code used to describe document style
JavaScript
General-purpose scripting language
HTTP
Protocol for transmitting web resources
Web APIs
Interfaces for building web applications
Web Extensions
Developing extensions for web browsers
Accessibility
Build web projects usable for all
Web Technology
Web technology reference for developers
Filter sidebar
Dans cet articleNumber
Object/Function
Function.displayName
Non standardFunction.length
Function.name
Function
Function.arguments
Non standard ObsolèteFunction.caller
Non standard ObsolèteObject.prototype.__defineGetter__()
ObsolèteObject.prototype.__defineSetter__()
ObsolèteObject.prototype.__lookupGetter__()
ObsolèteObject.prototype.__lookupSetter__()
ObsolèteObject.prototype.hasOwnProperty()
Object.prototype.isPrototypeOf()
Object.prototype.propertyIsEnumerable()
Object.prototype.toLocaleString()
Object.prototype.toString()
Object.prototype.valueOf()
Baseline Widely available
This feature is well established and works across many devices and browser versions. Itâs been available across browsers since July 2015.
Le constructeur Number()
permet de créer un objet Number
.
js
new Number(valeur);
Paramètres
valeur
La valeur numérique de l'objet à créer.
Number
js
const a = new Number("123"); // a === 123 vaut false
const b = Number("123"); // b === 123 vaut true
a instanceof Number; // true
b instanceof Number; // false
Spécifications Specification ECMAScript® 2026 Language Specification Number
(incluant les fonctionnalités récentes sur la prise en charge des littéraux binaires et octaux, avec la bibliothèque core-js
NaN
Math
BigInt
qui permettent de représenter des entiers avec une précision arbitraire.
This page was last modified on 3 août 2023 by MDN contributors.
View this page on GitHubâ¢
Report a problem with this contentRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4