摘要:
<!DOCTYPE html> <html> <head> </head> <body> <script> function namespace(ns) { if(!ns || typeof ns !== "string" || !ns.length) return null; var steps = ns.split("."); var root = window; for ( var i = 0, len = steps.length; i < len; i++) { ro 阅读全文