Movatterモバイル変換


[0]ホーム

URL:


Menu
×
See More 
Sign In
+1 Get Certified Upgrade For Teachers Spaces Get Certified Upgrade For Teachers Spaces
   ❮     
     ❯   

Basic JavaScript

JS TutorialJS SyntaxJS VariablesJS OperatorsJS If ConditionsJS LoopsJS StringsJS NumbersJS FunctionsJS ObjectsJS DatesJS ArraysJS Typed ArraysJS SetsJS MapsJS MathJS RegExpJS Data TypesJS ErrorsJS EventsJS ProgrammingJS ReferencesJS Versions

JS Advanced

JS FunctionsJS ObjectsJS ClassesJS IterationsJS AsynchronousJS ModulesJS Meta & ProxyJS HTML DOMJS WindowsJS Web APIJS AJAXJS JSONJS jQueryJS GraphicsJS ExamplesJS Reference


JavaScript Object Reference


Object Methods and Properties

Revised July 2025

NameDescription
assign()Copies properties from a source object to a target object
constructorReturns the function that created an object's prototype
create()Returns an object created from an existing object
defineProperties()Adds or changes properties
defineProperty()Adds or changes a property
deleteDeletes a property from an object:
entries()Returns an array of the key/value pairs of an object
freeze()Prevents any changes to an object
fromEntries()Returns an object created from an iterable list of key/value pairs
getOwnPropertyDescriptor()Returns an array of the keys of an object
getOwnPropertyDescriptors()Returns an array of the keys of an object
getOwnPropertyNames()Returns an array of the keys of an object
groupBy()Groups object elements according to returned callback values
isExtensible()Returns true if an object is extensible
isFrozen()Returns true if an object is frozen
isSealed()Returns true if an object is sealed
keys()Returns an array of the keys of an object
preventExtensions()Prevents adding new properties to an object
prototypeLet you to add properties and methods to JavaScript objects
seal()Prevents adding new or deleting existing object properties
toString()Converts an object to a string and returns the result
valueOf()Returns the primitive value of an object
values()Returns an array of the property values of an object

×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com

W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness
of all content. While using W3Schools, you agree to have read and accepted ourterms of use,cookies andprivacy policy.

Copyright 1999-2025 by Refsnes Data. All Rights Reserved.W3Schools is Powered by W3.CSS.


[8]ページ先頭

©2009-2025 Movatter.jp