0
電卓を構築する。デリートされたURIの16進コードにreplace()を使用して除算演算子
var process = "6÷6"; // need to replace division sign with one that javascript can evaluate with
process = encodeURI(process);
process.replace(/%C3%B7/gi,'/'); // replacement step that doesn't work - %C3%B7 is what shows up as the hex divison sign in chrome debugger, not sure why
process = decodeURI(process);
result = eval(process);
作品。 Chrome 50.0とSafari 9.1.1 –