Problem description:
See this code and console output in screenshot
Expected behavior:
This should be the output :
Actual behavior:
Steps to reproduce:
Create the HTML/CSS/JS replit and try the following code
const Persons = {
age:150,
married:true
}
const krishna = Object.create(Persons);
krishna.age = 24
console.log(krishna)
Bug appears at this link:
Browser/OS/Device:
1 Like
Hmm… you are correct, that’s definitely the wrong output… This must be to do with specifically how Replit logs to the console in HTML, CSS, & JS Repls.
cc: @ShaneAtReplit @ReplitIronclad
Hey @krishneup!
Thank you for reporting this. I was able to reproduce the issue and have sent it to the team.
Hi @ShaneAtReplit & @MattDESTROYER ,
Thanks for checking it and confirming. Do let me know when the bug is patched.
Thanks, have a good day
1 Like