print(), alert()

_·2020년 4월 16일
0

nodejs code

목록 보기
1/10
const print = text => console.log(text);

if(typeof alert === "undefined") {
    //function alert(text) { console.log("alert : ", text) };
    var alert = text => print("alert : " + text);
}
profile
_

0개의 댓글