{"id":18727542,"url":"https://github.com/pengwei1024/javascriptcorestudy","last_synced_at":"2026-05-10T16:42:44.280Z","repository":{"id":92921863,"uuid":"138993861","full_name":"pengwei1024/JavaScriptCoreStudy","owner":"pengwei1024","description":"JavaScriptCore study","archived":false,"fork":false,"pushed_at":"2018-06-29T04:22:55.000Z","size":1718,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T01:00:28.592Z","etag":null,"topics":["android","javascriptcore"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pengwei1024.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2018-06-28T09:04:49.000Z","updated_at":"2019-05-21T13:23:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2bed2cf-db10-4ad7-a6fa-2887cf686c6b","html_url":"https://github.com/pengwei1024/JavaScriptCoreStudy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pengwei1024/JavaScriptCoreStudy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FJavaScriptCoreStudy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FJavaScriptCoreStudy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FJavaScriptCoreStudy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FJavaScriptCoreStudy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pengwei1024","download_url":"https://codeload.github.com/pengwei1024/JavaScriptCoreStudy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pengwei1024%2FJavaScriptCoreStudy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32864092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"ssl_error","status_checked_at":"2026-05-10T13:40:02.145Z","response_time":54,"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":["android","javascriptcore"],"created_at":"2024-11-07T14:18:00.537Z","updated_at":"2026-05-10T16:42:44.266Z","avatar_url":"https://github.com/pengwei1024.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScriptCoreStudy\nJavaScriptCore study\n\n### 简单的四则运算\n```c++\nconst char *buffer = (env)-\u003eGetStringUTFChars(jsValue, 0);\nJSValueRef exception = nullptr;\nJSGlobalContextRef executor_context_ = ::JSGlobalContextCreate(nullptr);\nJSStringRef script = ::JSStringCreateWithUTF8CString(buffer);\nJSValueRef value = ::JSEvaluateScript(executor_context_, script, 0, 0, 0, \u0026exception);\nif (JSValueIsNumber(executor_context_, value)) {\n    double result = JSValueToNumber(executor_context_, value, nullptr);\n    LOGD(\"JSValueIsNumber: %f\", result);\n    return result;\n}\n::JSStringRelease(script);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengwei1024%2Fjavascriptcorestudy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpengwei1024%2Fjavascriptcorestudy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpengwei1024%2Fjavascriptcorestudy/lists"}