{"id":19093191,"url":"https://github.com/ufocoder/javascript.quiz","last_synced_at":"2026-03-01T17:01:28.190Z","repository":{"id":92639553,"uuid":"200219310","full_name":"ufocoder/javascript.quiz","owner":"ufocoder","description":"Not daily javascript issues that can be used for quiz","archived":false,"fork":false,"pushed_at":"2019-08-02T11:13:14.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T07:51:14.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ufocoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-02T10:56:35.000Z","updated_at":"2021-12-19T20:23:54.000Z","dependencies_parsed_at":"2023-03-09T07:30:32.160Z","dependency_job_id":null,"html_url":"https://github.com/ufocoder/javascript.quiz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ufocoder/javascript.quiz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufocoder%2Fjavascript.quiz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufocoder%2Fjavascript.quiz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufocoder%2Fjavascript.quiz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufocoder%2Fjavascript.quiz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ufocoder","download_url":"https://codeload.github.com/ufocoder/javascript.quiz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ufocoder%2Fjavascript.quiz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29976272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:23:36.246Z","updated_at":"2026-03-01T17:01:28.129Z","avatar_url":"https://github.com/ufocoder.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"JavaScript.Quiz\n===============\n\nPublic issue collection of `What will be output?` that can be used for any javascript quiz or interview\n\nTable of contents:\n\n* [Operators issues](#operators-issues)\n* [Scope issues](#scope-issues)\n* [Prototype issues](#prototype-issues)\n\n\n### Operators issues\n\n1. \n```\nconsole.log(-100 \u003c 0 \u003c 100);\nconsole.log(-100 \u003e 0 \u003e 100);\n```\n\n2.\n```\nvar number = 0;\n\nconsole.log(number++);\nconsole.log(++number);\nconsole.log(number);\n```\n\n3.\n```\nvar isJavaScriptSexist = '👧' \u003c '👨';\n\nconsole.log(isJavaScriptSexist)\n```\n\n4.\n\n```\nvar trees = [\"xyz\", \"xxxx\", \"test\", \"ryan\", \"apple\"];\n\ndelete trees[3];\n\nconsole.log(trees.length);\n```\n\n### Scope issues\n\n1.\n```\nvar foo = 'Hello';\n\n(function() {\n  var bar = ' World';\n  console.log(foo + bar);\n})();\n\nconsole.log(foo + bar);\n```\n\n2.\n```\nmyname = \"global\"; \n\nfunction func() { \n    console.log(myname); \n    var myname = \"local\"; \n    console.log(myname); \n} \n\nfunc(); \n```\n\n## Prototype issues\n\n1.\n```\nvar Employee = {\n  company: 'xyz'\n}\nvar emp1 = Object.create(Employee);\n\ndelete emp1.company\n\nconsole.log(emp1.company);\n```\n\n2.\n```\nvar obj = {\n    '0': 'a',\n    '1': 'b',\n    '2': 'c',\n    'length': 3\n}\n\nobj.__proto__ = Array.prototype\n\nconsole.log(...obj)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fufocoder%2Fjavascript.quiz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fufocoder%2Fjavascript.quiz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fufocoder%2Fjavascript.quiz/lists"}