{"json_modified": "2016-02-03T17:57:28.853754", "slug": "Web/JavaScript/Reference/Operators/new.target", "tags": [], "locale": "zh-CN", "title": "new.target", "translations": [{"title": "new.target", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/new.target", "tags": ["Classes", "Reference", "JavaScript", "ECMAScript6"], "summary": "The new.target
\u00a0property lets you detect whether a function or constructor was called using the new operator. In constructors and functions instantiated with the new operator, new.target
returns a reference to the constructor or function.\u00a0In normal function calls, new.target
is undefined
.", "localization_tags": [], "locale": "en-US", "last_edit": "2015-11-03T12:07:29", "review_tags": []}, {"title": "new.target", "url": "/fr/docs/Web/JavaScript/Reference/Op%C3%A9rateurs/new.target", "tags": ["Reference", "Experimental", "JavaScript", "ECMAScript6"], "summary": "La syntaxe new.target
se compose du mot-cl\u00e9 new
, suivi d'un point puis d'un nom de propri\u00e9t\u00e9 (ici target
). G\u00e9n\u00e9ralement et par ailleurs, new.
est utilis\u00e9 comme contexte pour acc\u00e9der \u00e0 une propri\u00e9t\u00e9. Ici, new.
ne fait pas r\u00e9ellement r\u00e9f\u00e9rence \u00e0 un objet. Dans les appels de constructeurs, new.target
fait r\u00e9f\u00e9rence au constructeur qui a \u00e9t\u00e9 appel\u00e9 par new
. Cette syntaxe permet donc de r\u00e9cup\u00e9rer cette valeur.", "localization_tags": [], "locale": "fr", "last_edit": "2015-11-04T11:13:48", "review_tags": []}, {"title": "new.target", "url": "/ja/docs/Web/JavaScript/Reference/Operators/new.target", "tags": ["NeedsContent", "Reference", "JavaScript", "NeedsExample"], "summary": " new.target
\u69cb\u6587\u306f\u3001\u3059\u3079\u3066\u306e\u95a2\u6570\u5185\u3067\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u5185\u3067\u306f\u3001new.target
\u306f\u3001new
\u306b\u3088\u3063\u3066\u547c\u3073\u51fa\u3055\u308c\u305f\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3092\u53c2\u7167\u3057\u307e\u3059\u3002\u901a\u5e38\u306e\u95a2\u6570\u547c\u3073\u51fa\u3057\u3067\u306f\u3001new.target
\u306fundefined
\u3067\u3059\u3002", "localization_tags": ["inprogress"], "locale": "ja", "last_edit": "2015-07-23T05:20:21", "review_tags": ["editorial"]}, {"title": "new.target (\u09a8\u09bf\u0989.\u099f\u09be\u09b0\u09cd\u0997\u09c7\u099f )", "url": "/bn-BD/docs/Web/JavaScript/Reference/Operators/new.target", "tags": ["\u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f"], "summary": "The new.target
syntax is available in all functions. In constructors, new.target
refers to the constructor that was invoked by new
. In normal function calls, new.target
is undefined
.", "localization_tags": ["inprogress"], "locale": "bn-BD", "last_edit": "2015-08-10T13:03:09", "review_tags": []}, {"title": "new.target", "url": "/ru/docs/Web/JavaScript/Reference/Operators/new.target", "tags": [], "summary": "\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 new.target
\u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043a\u043b\u044e\u0447\u0435\u0432\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\"new
\", \u0442\u043e\u0447\u043a\u0438, \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \"target\"
. \u041e\u0431\u044b\u0447\u043d\u043e \"new.\"
\u0441\u043b\u0443\u0436\u0438\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443, \u043d\u043e \u0437\u0434\u0435\u0441\u044c \"new.\"
\u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0430, new.target
\u0441\u0441\u044b\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0432\u044b\u0437\u0432\u0430\u043d\u043d\u044b\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e new
\u0438 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \"new.
\" \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u043c.", "localization_tags": ["inprogress"], "locale": "ru", "last_edit": "2015-12-15T08:44:40", "review_tags": []}], "modified": "2016-02-03T17:57:26", "label": "new.target", "localization_tags": [], "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/new.target", "last_edit": "2016-02-03T17:57:20", "summary": "new.target\u8bed\u6cd5\u7531\u4e00\u4e2a\u5173\u952e\u5b57
\"new
\"\uff0c\u4e00\u4e2a\u70b9\uff0c\u548c\u4e00\u4e2a\u5c5e\u6027\u540d
\"target\"\u7ec4\u6210\u3002\u901a\u5e38
\"new.
\"\u7684\u4f5c\u7528\u662f\u63d0\u4f9b\u5c5e\u6027\u8bbf\u95ee\u7684\u4e0a\u4e0b\u6587\uff0c\u4f46\u8fd9\u91cc
\"new.
\"\u5176\u5b9e\u4e0d\u662f\u4e00\u4e2a\u771f\u6b63\u7684\u5bf9\u8c61\u3002\u4e0d\u8fc7\u5728\u6784\u9020\u65b9\u6cd5\u8c03\u7528\u4e2d\uff0cnew.target\u6307\u5411\u88abnew\u8c03\u7528\u7684\u6784\u9020\u51fd\u6570\uff0c\u6240\u4ee5
\"new.
\"\u6210\u4e3a\u4e86\u4e00\u4e2a\u865a\u62df\u4e0a\u4e0b\u6587\u3002", "sections": [{"id": "Quick_Links", "title": null}, {"id": "\u8bed\u6cd5", "title": "\u8bed\u6cd5"}, {"id": "\u63cf\u8ff0", "title": "\u63cf\u8ff0"}, {"id": "\b\u5b9e\u4f8b", "title": null}], "id": 165331, "review_tags": []}