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
Ð ÑÑой ÑÑаÑÑеSet
Object/Function
Function.displayName
Ðе ÑÑандаÑÑноFunction.length
Function.name
prototype
Function.arguments
Ðе ÑÑандаÑÑно УÑÑаÑелоFunction.caller
Ðе ÑÑандаÑÑно УÑÑаÑелоObject.prototype.__defineGetter__()
УÑÑаÑелоObject.prototype.__defineSetter__()
УÑÑаÑелоObject.prototype.__lookupGetter__()
УÑÑаÑелоObject.prototype.__lookupSetter__()
УÑÑаÑелоObject.prototype.hasOwnProperty()
Object.prototype.isPrototypeOf()
Object.prototype.propertyIsEnumerable()
Object.prototype.toLocaleString()
Object.prototype.toString()
Object.prototype.valueOf()
Object.prototype.__proto__
УÑÑаÑелоObject.prototype.constructor
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.
ÐеÑод clear()
ÑдалÑÐµÑ Ð²Ñе ÑлеменÑÑ Ð¸Ð· обÑекÑа Set
.
mySet.clear();ÐозвÑаÑаемое знаÑение ÐÑимеÑÑ ÐÑполÑзование меÑода
clear
js
var mySet = new Set();
mySet.add(1);
mySet.add("foo");
mySet.size; // 2
mySet.has("foo"); // true
mySet.clear();
mySet.size; // 0
mySet.has("bar"); // false
СпеÑиÑикаÑии Specification ECMAScript® 2026 Language Specification .
This page was last modified on 7 авг. 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