{"json_modified": "2016-10-13T07:39:47.252967", "uuid": "35216014-4fa1-45d7-a2d9-ead17e1aed35", "title": "new.target", "url": "/en-US/docs/Web/JavaScript/Reference/Operators/new.target", "tags": ["Classes", "Reference", "JavaScript", "ECMAScript6"], "translations": [{"uuid": "29903f38-061c-47d3-b3b6-b6a3cb3a3732", "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": []}, {"uuid": "97a6f506-60b8-4466-b066-8e7364a73682", "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": []}, {"uuid": "04e5da67-681d-427e-ba74-3eb9fdc8e814", "title": "new.target", "url": "/ja/docs/Web/JavaScript/Reference/Operators/new.target", "tags": ["Reference", "ECMAScript6", "Class", "JavaScript"], "summary": "new.target
\u00a0\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u95a2\u6570\u3084\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u304c new \u6f14\u7b97\u5b50\u3092\u4f7f\u7528\u3057\u3066\u547c\u3073\u51fa\u3055\u308c\u305f\u304b\u3069\u3046\u304b\u3092\u691c\u51fa\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3084\u95a2\u6570\u5185\u3067\u3001new \u6f14\u7b97\u5b50\u3067\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\u3059\u308b\u3068\u3001new.target
\u306f\u30b3\u30f3\u30b9\u30c8\u30e9\u30af\u30bf\u3084\u95a2\u6570\u3078\u306e\u53c2\u7167\u3092\u8fd4\u3057\u307e\u3059\u3002\u901a\u5e38\u306e\u95a2\u6570\u547c\u3073\u51fa\u3057\u306e\u5834\u5408\u3001new.target
\u306f undefined
\u3067\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-10-13T07:39:27", "review_tags": []}, {"uuid": "05833927-97c6-449d-97cb-d0d55a5d05fa", "title": "new.target", "url": "/ko/docs/Web/JavaScript/Reference/Operators/new.target", "tags": ["ECMAScript6", "Classes", "JavaScript"], "summary": "new.target
\uc18d\uc131(property)\uc740 \ud568\uc218 \ub610\ub294 \uc0dd\uc131\uc790\uac00 new \uc5f0\uc0b0\uc790\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud638\ucd9c\ub410\ub294\uc9c0\ub97c \uac10\uc9c0\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. new \uc5f0\uc0b0\uc790\ub85c \uc778\uc2a4\ud134\uc2a4\ud654\ub41c \uc0dd\uc131\uc790 \ubc0f \ud568\uc218\uc5d0\uc11c, new.target
\uc740 \uc0dd\uc131\uc790 \ub610\ub294 \ud568\uc218 \ucc38\uc870\ub97c \ubc18\ud658\ud569\ub2c8\ub2e4. \uc77c\ubc18 \ud568\uc218 \ud638\ucd9c\uc5d0\uc11c\ub294, new.target
\uc740 undefined
\uc785\ub2c8\ub2e4.", "localization_tags": [], "locale": "ko", "last_edit": "2016-07-25T19:14:35", "review_tags": []}, {"uuid": "558ab622-79d1-490b-9545-a512f08d854a", "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": "2016-09-20T11:55:09", "review_tags": []}, {"uuid": "30358893-908f-4e77-8e00-f771b0c660d6", "title": "new.target", "url": "/zh-CN/docs/Web/JavaScript/Reference/Operators/new.target", "tags": [], "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", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-02-03T17:57:20", "review_tags": []}], "modified": "2016-03-02T14:35:41", "label": "new.target", "localization_tags": [], "locale": "en-US", "id": 156093, "last_edit": "2015-11-03T12:07:29", "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
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Description", "title": "Description"}, {"id": "Examples", "title": "Examples"}, {"id": "new.target_in_function_calls", "title": "new.target in function calls"}, {"id": "new.target_in_constructors", "title": "new.target in constructors"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/JavaScript/Reference/Operators/new.target", "review_tags": []}