Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Small typo in JavaScript 101 #710

Open
heykulthe opened this issue Dec 19, 2024 · 3 comments
Open

bug: Small typo in JavaScript 101 #710

heykulthe opened this issue Dec 19, 2024 · 3 comments
Labels
bug Something isn't working needs-triage

Comments

@heykulthe
Copy link

Describe the bug
In the javascript 101 section, on the last page (Complex Types), there is a typo in the Array of Objects section's code.

Current code:

const users = [{
		name: "Harkirat",
		age: 21
	}, {
		name: "raman",
		age: 22
	}
}  // Since 'users' is an array, this should be closing square bracket ']'

PS - I want to edit this myself (my start to opensource lol) however, when I checked the repo, I got confused on where shall I edit this. I looked under packages/db ... but I don't think so it is there, or I don't know if it is in app/web directory.

I just need guidance on where exactly it would be, and I'll fix it myself.

@heykulthe heykulthe added bug Something isn't working needs-triage labels Dec 19, 2024
@heykulthe
Copy link
Author

any hints?

@poswalsameer
Copy link

I was going through the codebase, got to know that the content is getting rendered from a notion doc. So, in this case we would be needing to update that doc instead of updating anything inside this code.

any hints?

@heykulthe
Copy link
Author

Oh i see... can I get access to notion doc then? @hkirat
Also, is there a better way to fetch content (instead of relying on notion docs)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage
Projects
None yet
Development

No branches or pull requests

2 participants