Vérifier que l'objet est l'instance de la classe

	class Person
	{
		constructor(firstName, lastName)
		{
			this.firstName = firstName;
			this.lastName = lastName;
			
		}
		
	}
	
	
	function test()
	{
		
		const p = new Person();
		
		console.log(p instanceof Person);
		
	}
Javasper