Some method use easy in JavaScript