{"image_url":null,"height":"190","categories":["\u958b\u767a","JavaScript"],"published":"2009-11-24 02:01:49","provider_name":"Hatena Blog","url":"https://yssk22.hatenadiary.org/entry/20091124/1259082109","width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyssk22.hatenadiary.org%2Fentry%2F20091124%2F1259082109\" title=\" \u3064\u3044\u3067\u306b extractOptions - Web\u5c4b\u306e\u4eba\u306e\u65e5\u8a18 || WebJourney \u958b\u767a\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/yssk22/","title":" \u3064\u3044\u3067\u306b extractOptions","blog_title":"Web\u5c4b\u306e\u4eba\u306e\u65e5\u8a18 || WebJourney \u958b\u767a\u30ed\u30b0","version":"1.0","author_name":"yssk22","blog_url":"https://yssk22.hatenadiary.org/","description":"\u3053\u308c\u3082Rails\u3067\u3088\u304f\u304a\u4e16\u8a71\u306b\u306a\u3063\u305f\u30e1\u30bd\u30c3\u30c9\u306a\u306e\u3067\u30dd\u30fc\u30c8\u3002\u4e16\u306e\u4e2d\u63a2\u305b\u3070\u3042\u308b\u306e\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u308c\u3069\u3002\u3053\u3046\u3084\u3063\u3066\u5b9f\u88c5\u3057\u3066\u3044\u304f\u3068\u3001javaScript\u306e\u8a00\u8a9e\u4ed5\u69d8\u306e\u5965\u6df1\u3044\u3068\u3053\u308d\u3067\u306f\u307e\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u305f\u3081\u306b\u306a\u3063\u3066\u307e\u3059\u3002 f = function(){ return Crayon.extractOptions.apply(this, arguments); }; var ret = f(1,2,3); // ret.args -> [1.2.3] // ret.options -> null var ret = f({opt1: \"a\"}); // ret.args -> [] // ret.options \u2026","type":"rich"}