{"id":21113996,"url":"https://github.com/bobiscool/hanshureturn","last_synced_at":"2026-02-25T22:32:12.893Z","repository":{"id":126322046,"uuid":"56418055","full_name":"bobiscool/hanshureturn","owner":"bobiscool","description":null,"archived":false,"fork":false,"pushed_at":"2016-04-17T04:01:43.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T10:31:21.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/bobiscool.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":"2016-04-17T03:58:30.000Z","updated_at":"2016-04-17T03:58:42.000Z","dependencies_parsed_at":"2023-06-16T07:00:43.091Z","dependency_job_id":null,"html_url":"https://github.com/bobiscool/hanshureturn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bobiscool/hanshureturn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobiscool%2Fhanshureturn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobiscool%2Fhanshureturn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobiscool%2Fhanshureturn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobiscool%2Fhanshureturn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bobiscool","download_url":"https://codeload.github.com/bobiscool/hanshureturn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bobiscool%2Fhanshureturn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29843429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T21:18:31.832Z","status":"ssl_error","status_checked_at":"2026-02-25T21:18:29.265Z","response_time":61,"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-20T02:00:04.159Z","updated_at":"2026-02-25T22:32:12.879Z","avatar_url":"https://github.com/bobiscool.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"首先是，老师讲的是 一个函数里面调用一个return再加一个东西那么\n调用函数时，韩式就等于这个return后面的东西\n\n但是由于函数可以具有参数，所以直接让这个东西可以有了变化\n\n----\n\n课后小练习，数组 fn(6,2)  fn(2,6)\n```javascript\nalert(fn5());\nfunction fn5(){\n  return 123;\n  alert(520)\n}\n\n```\n这里有一点，要注意，就是return后面的值就不再有效。\n\n注意点\n- return 返回值：\n  - 函数名+括号 ：fn1（）==\u003e return后面的值；\n  - 所有函数默认返回值都是未定义。\n  - return后面任何代码都不执行\n\n----\n前端学习 有了一些问题 亟待解决 \n需要 需要仔细问问，还有以后不要乱推荐电影了。早上好好学习，别浪费时间。\n\n----\n\n##作业思考\n首先是\nalert(fn(a,b))\n那么弹出的是[a,a+1,a+2,....,b]\n\n首先是，排序\n看a b谁大，然后才是，i=min继续增长到max\n\nfn(a,b)两个接口\n然后进去，看是判断\nif()判断，不过感觉if判断太过于繁琐，直接来吧\nif 后面 判断大小  取出min max\n然后便是递加 push\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobiscool%2Fhanshureturn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbobiscool%2Fhanshureturn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbobiscool%2Fhanshureturn/lists"}