javascript - How to pass a method into a Function? -
forgive me if title wrong/improper.
how can next code expressed in 1 line?
var d = new date(); var n = d.getfullyear();
i'm looking this: date(getfullyear())
like this:
var n = new date().getfullyear();
javascript
No comments:
Post a Comment