fix line 227 misspelled word "new_value"

This commit is contained in:
Stephen Xie 2022-03-10 18:33:41 -08:00 committed by GitHub
parent 2c31eddf34
commit 3418cbfb16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ JavaScript 中没有用 var 声明的变量都是全局变量,而全局变量
现在要接受一个字符串并把它放到第一个空的 input 字段中,初始实现如下:
```js
var setFirstEmptyInput = function(new_alue) {
var setFirstEmptyInput = function(new_value) {
var found = false;
var i = 1;
var elem = document.getElementById('input' + i);