javascript Math

获得 0 或 1

Math.floor(Math.random() * 2)

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *