基于闭包的web计算器研究与设计  

Based on the Java Script Closures Web Computer Research & Design

在线阅读下载全文

作  者:王爱华[1] WANG Ai-hua

机构地区:[1]山东商业职业技术学院,山东济南250103

出  处:《信息技术与信息化》2018年第2期111-113,共3页Information Technology and Informatization

摘  要:利用html的div、表格和表单设计了计算器的界面,利用css美化了界面样式,利用JavaScript闭包及匿名函数实现了计算器中各个按钮的键入功能以及表达式的显示与计算功能,从而避免了函数反复调用时的繁琐实现过程。The structure of the computer is realized by use of elements div and table and form in html,the display effects is beautified with CSS style,by use of both JavaScript closures and anonymous functions,we have realize the type function of all buttons,as well as the display function and calculation function of expressions

关 键 词:web计算器 JAVASCRIPT 闭包 匿名函数 

分 类 号:TP393.09[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象