formData.append("sql","select * from tb");
console.log("1");
console.log(formData.get("sql"));
formData.set("sql","select * from tb2");
console.log("2");
console.log(formData.get("sql"));
console.log("3");
console.log(formData.getAll("sql"));
formData.append("sql","select * from tb3");
console.log("4");
console.log(formData.get("sql"));
console.log("5");
console.log(formData.getAll("sql"));
console.log("6");
console.log(formData.has("sql"));
console.log("7");
console.log(formData.delete("sql"));
console.log("8");
console.log(formData.has("sql"));
以下是输出内容