From 2a915fc90e4e9a840716578bc024ab27f5bbe837 Mon Sep 17 00:00:00 2001 From: Cesar Carbajo Date: Tue, 8 Feb 2022 15:27:15 +0100 Subject: Update index.html (#4044) --- .../reference/global_objects/object/setprototypeof/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/es/web/javascript') diff --git a/files/es/web/javascript/reference/global_objects/object/setprototypeof/index.html b/files/es/web/javascript/reference/global_objects/object/setprototypeof/index.html index d7b19fea89..1bfa3cbb0d 100644 --- a/files/es/web/javascript/reference/global_objects/object/setprototypeof/index.html +++ b/files/es/web/javascript/reference/global_objects/object/setprototypeof/index.html @@ -129,7 +129,7 @@ Object.appendChain(oCat, new Animal()); console.log(oCat.breathing); // 'yes' -

Segundo ejemplo: Transofrmando un valor Primitivo en una instancia de su constructor y agregar su cadena al prototipo

+

Segundo ejemplo: Transformando un valor Primitivo en una instancia de su constructor y agregar su cadena al prototipo

function Symbol() {
   this.isSymbol = 'yes';
-- 
cgit v1.2.3-54-g00ecf