Which of the following javascript interview questions have you done?
1. -------------------------------------------------- copy the code var fun = function () {this. name = 'Peter '; return {name: 'jack'};} var p = new fun (); copy the code to ask p. name is: a: 'Peter ', B: 'jack', c: null, d: undefined 2. -------------------------------------------------- copy the code var fun = function () {this. name = 'Peter '; return 'jack';} var p = new fun (); copy the code to ask p. name is: a: 'Peter ', B: 'jack', c: null, d: undefined 3. -------------------------------------------------- copy the code var fun = function () {} fun. prototype = {info: {name: 'Peter ', age: 25} var a = new fun (); var B = new fun (); a.info. name = 'jack'; B .info. name = 'Tom '; copy the code to ask a.info. name and B .info. name: a: 'jack', 'Tom ', B: 'jack', 'jack', c: 'Tom', 'Tom ', d: 'Tom ', 'jack' 4. ------------------------------------------------ copy the code var fun = function () {this.info = {name: 'Peter ', age: 25} var a = new fun (); var B = new fun (); a.info. name = 'jack'; B .info. name = 'Tom '; copy the code to ask a.info. name and B .info. name: a: 'jack', 'Tom ', B: 'jack', 'jack', c: 'Tom', 'Tom ', d: 'Tom ', 'jack', e: Other 5. -------------------------------------------------- copy the code var fun = function () {} fun. prototype = {name: 'Peter ', age: 25} var a = new fun (); var B = new fun ();. name = 'jack'; B. name = 'Tom '; copy the code. name and B. name: a: 'jack', 'Tom ', B: 'jack', 'jack', c: 'Tom', 'Tom ', d: 'Tom ', 'jack', e: Other 6. ------------------------------------------------ copy the code var fun = function () {this.info = {name: 'Peter ', age: 25} fun. prototype = {info: {name: 'Peter ', age: 25} var a = new fun (); var B = new fun (); a.info. name = 'jack'; B .info. name = 'Tom '; copy the code to ask a.info. name and B .info. name: a: 'jack', 'Tom ', B: 'jack', 'jack', c: 'Tom', 'Tom ', d: 'Tom ', 'jack'