object (2) 썸네일형 리스트형 [javascript] get parameters to object var _param = {}; _param.data = null; _param.init = function () { _param.data = _param.ToConvert(); console.log('_param.data : ' + JSON.stringify(_param.data)); } _param.ToConvert = function () { var pairs = location.search.slice(1).split('&'); var result = {}; pairs.forEach(function (pair) { pair = pair.split('='); result[pair[0]] = decodeURIComponent(pair[1] || ''); }); return JSON.parse(JSON.s.. C# Override Object Equals /*** * Excerpted from "Test Drive ASP.NET MVC", * published by The Pragmatic Bookshelf. * Copyrights apply to this code. It may not be used to create training material, * courses, books, articles, and the like. Contact us if you are in doubt. * We make no guarantees that this code is fit for any purpose. * Visit http://www.pragmaticprogrammer.com/titles/jmasp for more book information. ***/ usin.. 이전 1 다음